
body {
  background-image:url("images/bg.jpg");
}

/* Styles pagina Index */

#medicalS_img {
  float:left;
  margin-top: 10%;
  
}

#euroH_img {
  float:left;
  clear:both;
  
}

#mI_img {
  float:left;
  clear:both;
  
}

/* Styles general */

.primaryContainer {
    height: auto;
    margin-left: auto;
    margin-right: auto;
    min-height: 100%;
    max-width: 88%;
    width: 88%;
    
}


#image {
    float: left;
    width: auto;
    max-width: 100%;
    height: auto;
    margin-top: 6%;
    margin-bottom: 3%;
    clear: none;
    

}

img {
  border: none;
}
#thumbnail img {
  cursor: pointer;  
}
#large {
  display: none;
  position: absolute;   
  background: #ffffff;  
  padding: 5px;
  z-index: 2000;
  min-height: 200px;
  min-width: 200px;
  max-width: 800px;
  max-height: 800px;
  color: #336699;
}
#background{
  display: none;
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  background: #000000;  
  z-index: 1000;
}



#search_bar {
  margin-left:70%; 
  background-color:rgba(67, 87, 87, 0.2);
  border: 0 none;
    font: bold 0.9em Arial,Helvetica,Sans-serif;
    color: rgba(58, 75, 75, 0.7);
    width: 130px;
    padding: 6px 15px 6px 15px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 3px rgba(0, 0, 0, 0.2) inset;
    -moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 3px rgba(0, 0, 0, 0.2) inset;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 3px rgba(0, 0, 0, 0.2) inset;
    
}

#search_bar:focus{

  outline: none;


}

#r_pesquisa a:link {
  color: #344343;
  text-decoration: none;
}

#r_pesquisa a:visited {
  color: #344343;
  text-decoration: none;
}


#r_pesquisa a:hover {
  color: #597575;
  text-decoration: none;
}

#r_pesquisa a:active {
  color: #344343;
  text-decoration: none;
}





.home3 {
  font-size: 1.1em;
  background-color: #3a4b4b;
  color: #ffffff;
  font-weight: 500;
  letter-spacing: 0.025em;
  width:35%;
  height:6%;
  border-radius: 4px;
  float:left;
  clear:both;
  text-align:center;
  padding:2px;
  width:150px;

}




/* slider style*/



#sliderFrame {position:relative;width:700px;float:right;
  margin-top:5%;
  margin-right:5%;} /*remove the "margin:0 auto;" if you want to align the whole slider to the left side*/

#ribbon {width:111px;height:111px;position:absolute;top:-4px;left:-4px;background:url(ribbon.png) no-repeat;z-index:7;}
        
#slider {
  width:700px;height:306px;/* Make it the same size as your images */
  background:#fff url(loading.gif) no-repeat 50% 50%;
  position:relative;
  box-shadow: 0px 1px 5px #999999;
}
#slider img {
  position:absolute;
  border:none;
  display:none;
}

/* the link style (if an image is wrapped in a link) */
#slider a.imgLink {
  z-index:2;
  display:none;position:absolute;
  top:0px;left:0px;border:0;padding:0;margin:0;
  width:100%;height:100%;
}

/* Caption styles */
div.mc-caption-bg, div.mc-caption-bg2 {
  position:absolute;
  width:100%;
  height:auto;
  padding:0;
  left:0px; /*if the caption needs to be aligned from right, specify by right instead of left. i.e. right:20px;*/
  bottom:0px;/*if the caption needs to be aligned from top, specify by top instead of bottom. i.e. top:150px;*/
  z-index:3;
  overflow:hidden;
  font-size: 0;
}
div.mc-caption-bg {
  background-color:black;
}
div.mc-caption {
  font: bold 14px/20px Arial;
  color:#EEE;
  z-index:4;
  padding:10px 0;/*Adding a padding-left or padding-right here will make the caption area wider than its background. Sometimes you may need to define its width again here to keep it the same width as its background area (div.mc-caption-bg).*/
  text-align:center;
}
div.mc-caption a {
  color:#FB0;
}
div.mc-caption a:hover {
  color:#DA0;
}


/* ------ built-in navigation bullets wrapper ------*/
div.navBulletsWrapper  {
  top:320px; left:280px; /* Its position is relative to the #slider */
  width:150px;
  background:none;
  padding-left:20px;
  position:relative;
  z-index:5;
  cursor:pointer;
}

/* each bullet */
div.navBulletsWrapper div 
{
    width:11px; height:11px;
    background:transparent url(bullet.png) no-repeat 0 0;
    float:left;overflow:hidden;vertical-align:middle;cursor:pointer;
    margin-right:11px;/* distance between each bullet*/
    _position:relative;/*IE6 hack*/
}

div.navBulletsWrapper div.active {background-position:0 -11px;}


/* --------- Others ------- */
#slider 
{
  transform: translate3d(0,0,0);
    -ms-transform:translate3d(0,0,0);
    -moz-transform:translate3d(0,0,0);
    -o-transform:translate3d(0,0,0);
}


#text1 {
    
    margin-top: 0px;
    margin-left: 0px;
    clear: none;
    position: absolute;
    top: 15%;
    margin-left: 40%;    
    float: right;
    min-width: 0px;
    text-align: left;
    font-size: 1em;
    right: auto;
    letter-spacing: normal;
}


#text1 ul
    {
    }
      
      #text1 ul li
      {
        float: left;
        line-height: 4.5em;
        padding-left: 0.6em;
      }

        #text1 ul li a
        {
          font-weight: 800;
          letter-spacing: 0.025em;
          color: #3a4b4b;
          text-decoration: none;
          border-radius: 6px;
          padding: 0.5em 0.8em 0.5em 0.8em;
          
        }

      #text1 ul li:hover
      {
      }

        #text1 ul li:hover a
        {
          background: rgba(255,255,255,0.5);
        }

      #text1 ul li.current_page_item
      {
      }

        #text1 ul li.current_page_item a
        {
          background: #435757;
          opacity: 0.9;
          color: #fff;

        }

#admin-menu {
    margin-top:90px;
    clear: none;
    position: absolute;
    top: 15%;
    float: right;
    min-width: 0px;
    text-align: left;
    font-size: 1em;
    right: auto;
    letter-spacing: normal;
}


#admin-menu ul
    {
    }
      
      #admin-menu ul li
      {
        float: left;
        line-height: 4.5em;
        padding-left: 0.6em;
      }

        #admin-menu ul li a
        {
          font-weight: 800;
          letter-spacing: 0.025em;
          color: #3a4b4b;
          text-decoration: none;
          border-radius: 6px;
          padding: 0.5em 0.8em 0.5em 0.8em;
          
        }

      #admin-menu ul li:hover
      {
      }

        #admin-menu ul li:hover a
        {
          background: rgba(255,255,255,0.5);
        }

      #admin-menu ul li.current_page_item
      {
      }

        #admin-menu ul li.current_page_item a
        {
          background: #435757;
          opacity: 0.9;
          color: #fff;

        }

#box1 {
    float: left;
    height: 416px;
    margin-top: 34px;
    clear: both;
    width: 100%;
    background-color: rgb(255, 255, 255);
    opacity: 1;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
    min-width: 20%;
    min-height: 0px;
    position: relative;
    top: 0px;
    left: 0px;
    max-width: 100%;
    max-height: 100%;
    box-shadow: 0px 3px 9px #888888;
}

#box {
    float: left;
    height: 5%;
    margin-left: 0px;
    margin-top: 0px;
    clear: none;
    width: 7%;
    background-color: rgb(172, 54, 54);
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
    position: absolute;
    top: 0px;
    left: auto;
    min-width: 85px;
    right: 6%;
    box-shadow: 0px 2px 9px #888888;
    opacity: 0.95;
    position: absolute;

}

#box-admin {
    float: left;
    height: 5%;
    margin-left: 0px;
    margin-top: 0px;
    clear: none;
    width: 11%;
    background-color: rgb(172, 54, 54);
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
    position: absolute;
    top: 0px;
    left: auto;
    min-width: 85px;
    right: 6%;
    box-shadow: 0px 2px 9px #888888;
    opacity: 0.95;
    position: absolute;
    text-align: center;

}

#box-admin a:link {

  text-decoration: none;
  color:#ffffff;

}

#box-admin a:visited {

  text-decoration: none;
  color:#ffffff;
  
}

#box-admin a:hover {

  text-decoration: none;
  color:#344444;
  
}

#box-admin a:active {

  text-decoration: none;
  color:#ffffff;
  
}

#box2 {
    float: left;
    height: auto;
    margin-top: 34px;
    clear: both;
    width: 100%;
    background-color: rgb(255, 255, 255);
    opacity: 1;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
    min-width: 20%;
    min-height: 0px;
    position: relative;
    top: 0px;
    left: 0px;
    max-width: 100%;
    max-height: 100%;
    box-shadow: 0px 3px 9px #888888;
}

#text {
    float: left;
    font-size: 1em;
    width: 67.06539923954372%;
    height: auto;
    text-align: center;
    font-weight: 700;
    letter-spacing: 0.025em;
    line-height: 0.5em;
    word-wrap: break-word;
    margin-left: 0px;
    margin-top: -3%;
    clear: none;
    min-height: 17px;
    color: rgb(255, 255, 255);
    position: absolute;
    top: 16px;
    margin-left: 15%;
    min-width: 0px;
    font-family: Arial, Helvetica, sans-serif;
}

#text:hover{
    color: #344444;
}

#text2 {
    float: left;    
    font-size: 1em;
    width: auto;
    height: auto;
    text-align: left;
    font-weight: bolder;
    letter-spacing:0.045em;
    line-height: 1em;
    word-wrap: break-word;
    margin-left: 15%;
    min-height: 185px;
    color: #ffffff;


}



#text2 a:link {

  color: #ffffff;
  font-weight: lighter;
  text-decoration: none;

}

#text2 a:visited {

  color: #ffffff;
  font-weight: lighter;
  text-decoration: none;

}

#text2 a:hover {

  color: #0c1010;
  font-weight: lighter;
  text-decoration: none;

}

#text2 a:active {

  color: #ffffff;
  font-weight: lighter;
  text-decoration: none;

}

#text2_footer {
    float: left;    
    font-size: 0.8em;
    width: auto;
    height: auto;
    text-align: left;
    font-weight: bolder;
    letter-spacing:0.045em;
    line-height: 1em;
    word-wrap: break-word;
    margin-left: 15%;
    min-height: 185px;
    color: #ffffff;


}



#text2_footer a:link {

  color: #ffffff;
  font-weight: lighter;
  text-decoration: none;

}

#text2_footer a:visited {

  color: #ffffff;
  font-weight: lighter;
  text-decoration: none;

}

#text2_footer a:hover {

  color: #0c1010;
  font-weight: lighter;
  text-decoration: none;

}

#text2_footer a:active {

  color: #ffffff;
  font-weight: lighter;
  text-decoration: none;

}


.text3 {
    
    color: #344343;


}



.text3 a:link {

  color: #344343;
  
  text-decoration: none;

}

.text3 a:hover {

  color: #0c1010;
  text-decoration: none;

}



#footer {
  background-color: #435757;
  margin-top: 10%;
  width:100%;
  height:auto;
  opacity: 0.65;

}



#table_footer {
  width:70%;
  margin-left:20%;
}

#left_div {

  float:left;
  margin-left: 5%;
  margin-top: 8%;
  width: 15%;
  clear: both;


}

#left_div2 {

  float:left;
  margin-left: 5%;
  margin-right: 5%;
  margin-bottom: 3%;
  clear: both;
  text-align: justify;
  border-bottom:2px solid #93adaa;


}

#left_div3 {

  float:left;
  margin-left: 5%;
  margin-right: 5%;
  margin-bottom: 3%;
  clear: both;
  text-align: justify;
  border-bottom:2px solid #93adaa;
}

#left_div3 a:link {
  color: #ffffff;
}

#left_div3 a:visited {
  color: #ffffff;
}

#left_div3 a:hover {
  color: #96b0ad;
}

#left_div3 a:active {
  color: #ffffff;
}

#right_div {
  float:right;
  margin-right: 5%;
  margin-top: 5%;
  margin-bottom: 5%;
  width:72%;
  text-align: justify;
  border-left-style:solid;
  border-color:#93adaa;
  border-spacing: 10px;
}

#right_div2 {
  float:right;
  margin-right: 5%;
  margin-top: 1%;
  width:62%;
  text-align: justify;
  
}


.mais a:link {
  color:#B01313;
}

.mais a:visited {
  color:#B01313;
}

.mais a:hover {
  color:#809794;
}

.mais a:active {
  color:#B01313;
}



.image1 {

    margin-top: 5%;
    margin-bottom: 5%;
    border-radius: 3px;
   
}

#form {
    
    background-color: #435757;
    width:100%;
    height:100%;
    position: relative;
}

#btn {
    
    background-color: #435757;
    border-radius: 4px;
    width:55%;
    position: relative;
    color:#ffffff;
    text-align: center;
    font-size: 1.1em;
    
    
}

#ir_form {
    
    background-color: #435757;
    border-radius: 4px;
    width:55%;
    position: relative;
    color:#ffffff;
    text-align: center;
    font-size: 1.1em;
    
}



#ir_form a:link {
  text-decoration: none;
  color:#ffffff;
}
#ir_form a:visited {
  text-decoration: none;
  color:#ffffff;
}

#ir_form a:hover {
  text-decoration: none;
  color: #96b0ad;
}

#ir_form a:active {
  text-decoration: none;
  color:#ffffff;
}


.contatos_text {
  color: #435757;
}

.text_t {
  color: #435757;
  text-decoration: none;
}

.text_t a:link{
  color: #435757;
}

.text_t a:visited {
  color: #435757;
}

.text_t a:hover {
  color: #96b0ad;
}

.text_t a:active {
  color: #96b0ad;
}

#resposta {
    
    background-color: #435757;
    width:100%;
    height:100%;
    position: relative;
    
}

.enviado_em {

  text-align:right;
  color:#435757;
  font-size:0.8em;
  margin-top:3%;
}

#uFoto_resposta {

  float:left;
  margin-left: 18%;
  margin-top: 3px;
  margin-bottom: 5%;
  width:10%;


}

#resposta_q {
  float:right;
  width:70%;
  margin-bottom: 5%;
}

#login {
    
    background-color: #435757;
    border-radius: 4px;
    width:27%;
    height:50%;
    position: relative;
    bottom: 25%;
    top: 25%;
    left: 38%;
    right: 38%;
    box-shadow: 0px 3px 9px #888888;
}

.text_login{
  margin-left: 5%;
  margin-top: 5%;
  color:#afccc9;
  font-weight: 700;
  letter-spacing: 0.025em;
  line-height: 0.5em;

}

.text_login1{
 
  margin-top: 6%;
  margin-right:10%;
  text-align: right; 
  color:#cddedc;
  font-weight: 600;
  letter-spacing: 0.025em;
  line-height: 0.5em;
  font-size: 0.8em;

}

.image_login {
    margin-left: 5%;
    margin-top: 5%;
}

.input_login {
    margin-left: 10%;
    border-radius: 3px;
    border-style:solid;
    border-color:#3b4b4b;
    opacity: 0.90;
    background-color: #d4e5e3;
    
}

input:focus {
  outline:#ffffff solid 1px;
  opacity: 0.60;

}
  

.btn_login {
    margin-left: 87%;
    margin-top: 2%;
    background-color: #cddedc;
    border-radius: 4px;
    border-style:solid;
    border-color:#3e5050;
    color:#2c3939;
    font-weight: 500;
    letter-spacing: 0.025em;
    
}

.link_registo a:link {
  color:#afccc9;
  font-size:1.2em;
  text-decoration: none;
}

.link_registo a:visited {
  color:#afccc9;
  font-size:1.2em;
  text-decoration: none;
}

.link_registo a:hover {
  color:#ffffff;
  font-size:1.2em;
  text-decoration: none;
}

.link_registo a:active {
  color:#afccc9;
  font-size:1.2em;
  text-decoration: none;
}

#registo {
  width:40%;
  height:80%;
  position: relative;
  top:10%;
  bottom:10%;
  left: 30%;
  right: 30%;
  box-shadow: 0px 3px 9px #888888;
  background-color: #435757;
  border-radius: 4px;
}

#cRegisto_box {

  background-color:#cddedc;
  width:55%;
  border-top-left-radius: 3px;
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
  border-bottom-left-radius: 3px;
  opacity:0.70;
  margin-left:176px;
  margin-top: 12%;
  font-weight: 600;
  letter-spacing: 0.025em;
  font-size: 1.3em;
  padding: 2px;
}


    

@media only screen and (max-width: 1029px) {

   .primaryContainer {
    height: auto;
    margin-left: auto;
    margin-right: auto;
    min-height: 100%;
    max-width: 88%;
    width: 88%;
    
}
#image {
    float: left;
    width: 33%;
    margin-top: 10%;
    clear: none;
    color: rgb(0, 0, 0);
}

#login {
    
    background-color: #435757;
    border-radius: 4px;
    width:37%;
    height:65%;
    position: relative;
    bottom: 25%;
    top: 17%;
    left: 33%;
    right: 33%;
    box-shadow: 0px 3px 9px #888888;
}

.text_login{
  margin-left: 5%;
  margin-top: 5%;
  color:#afccc9;
  font-weight: 700;
  letter-spacing: 0.025em;
  line-height: 0.5em;

}

.text_login1{
 
  margin-top: 6%;
  margin-right:10%;
  text-align: right; 
  color:#cddedc;
  font-weight: 600;
  letter-spacing: 0.025em;
  line-height: 0.5em;
  font-size: 0.8em;
  float:left;
  clear: both;

}




.image_login {
    margin-left: 5%;
    margin-top: 5%;
}

.input_login {
    margin-left: 10%;
    border-radius: 3px;
    border-style:solid;
    border-color:#3b4b4b;
    opacity: 0.90;
    background-color: #d4e5e3;
    float: left;
    clear: both;
    
}

.btn_login {
    margin-left: 87%;
    margin-top: 2%;
    background-color: #cddedc;
    border-radius: 4px;
    border-style:solid;
    border-color:#3e5050;
    color:#2c3939;
    font-weight: 500;
    letter-spacing: 0.025em;
    
}

#search_bar {
  margin-left:67%; 
  background-color:rgba(67, 87, 87, 0.2);
  border: 0 none;
    font: bold 0.9em Arial,Helvetica,Sans-serif;
    color: rgba(58, 75, 75, 0.7);
    width: 130px;
    padding: 6px 15px 6px 15px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 3px rgba(0, 0, 0, 0.2) inset;
    -moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 3px rgba(0, 0, 0, 0.2) inset;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 3px rgba(0, 0, 0, 0.2) inset;
    
}


#sliderFrame {position:relative;width:500px;float:right;
  margin-top:5%;
  margin-right:5%;} 
#slider img {
  position:absolute;
  border:none;
  display:none;
}
        
#slider {
  width:500px;height:306px;/* Make it the same size as your images */
  background:#fff url(loading.gif) no-repeat 50% 50%;
  position:relative;
  box-shadow: 0px 1px 5px #999999;
}

#text1 {
    margin-left: 32%;
    clear: none;
    position: absolute;
    float: left;
    min-width: 0px;
    text-align: left;
    letter-spacing: normal;
    font-size: 0.95em;
    
    
}



#box1 {
    float: left;
    height: 416px;
    margin-top: 4%;
    clear: both;
    width: 100%;
    background-color: rgb(255, 255, 255);
    opacity: 1;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    min-width: 20%;
    min-height: 0px;
    position: relative;
    top: 0px;
    left: 0px;
    max-width: 100%;
    max-height: 100%;
}
#box {
    float: left;
    height: 5%;
    margin-left: 0px;
    margin-top: 0px;
    clear: none;
    width: 8%;
    background-color: rgb(172, 54, 54);
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
    position: absolute;
    top: 0px;
    left: auto;
    right: 6%;
}



#text {
    float: left;
    font-size: 0.9em;
    width: 67.06539923954372%;
    height: auto;
    text-align: center;
    font-weight: normal;
    line-height: 1em;
    word-wrap: break-word;
    margin-top: -7px;
    clear: none;
    min-height: 17px;
    color: rgb(255, 255, 255);
    position: absolute;
    top: 16px;
    left:2%;
    min-width: 0px;
    font-family: Arial, Helvetica, sans-serif;
}

#text2 {
    float: left;
    font-size: 1em;
    width: 19.340136054421766%;
    height: auto;
    text-align: left;
    font-weight: normal;
    line-height: 1em;
    word-wrap: break-word;
    margin-left: 5.054421768707483%;
    margin-top: 151px;
    clear: both;
    min-height: 185px;
}

#text2_footer {
    float: left;
    font-size: 0.8em;
    width: 50%;
    height: auto;
    text-align: left;
    font-weight: normal;
    line-height: 1em;
    word-wrap: break-word;
    margin-left: 5.054421768707483%;
    margin-top: 51px;
    clear: both;
    min-height: 185px;
}

#table_footer {
  width:70%;
  
}

#box-admin {
    float: left;
    height: 5%;
    margin-left: 0px;
    margin-top: 0px;
    clear: none;
    width: 12%;
    background-color: rgb(172, 54, 54);
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
    position: absolute;
    top: 0px;
    left: auto;
    min-width: 85px;
    right: 6%;
    box-shadow: 0px 2px 9px #888888;
    opacity: 0.95;
    position: absolute;
    text-align: center;

}

#admin-menu {
    margin-top:90px;
    clear: none;
    position: absolute;
    top: 17%;
    float: right;
    min-width: 0px;
    text-align: left;
    font-size: 0.97em;
    right: auto;
    letter-spacing: normal;
}



   #grid .column.grid-0 {
        margin-left: 0%;
   }
   #grid .gutter.left.grid-1 {
        margin-left: 6.133333333333333%;
   }
   #grid .gutter.right.grid-1 {
        margin-left: 7.333333333333332%;
   }
   #grid .column.grid-1 {
        margin-left: 8.533333333333333%;
   }
   #grid .gutter.left.grid-2 {
        margin-left: 14.666666666666664%;
   }
   #grid .gutter.right.grid-2 {
        margin-left: 15.866666666666665%;
   }
   #grid .column.grid-2 {
        margin-left: 17.066666666666663%;
   }
   #grid .gutter.left.grid-3 {
        margin-left: 23.200000000000003%;
   }
   #grid .gutter.right.grid-3 {
        margin-left: 24.400000000000002%;
   }
   #grid .column.grid-3 {
        margin-left: 25.6%;
   }
   #grid .gutter.left.grid-4 {
        margin-left: 31.73333333333333%;
   }
   #grid .gutter.right.grid-4 {
        margin-left: 32.93333333333333%;
   }
   #grid .column.grid-4 {
        margin-left: 34.13333333333333%;
   }
   #grid .gutter.left.grid-5 {
        margin-left: 40.266666666666666%;
   }
   #grid .gutter.right.grid-5 {
        margin-left: 41.46666666666666%;
   }
   #grid .column.grid-5 {
        margin-left: 42.666666666666664%;
   }
   #grid .gutter.left.grid-6 {
        margin-left: 48.800000000000004%;
   }
   #grid .gutter.right.grid-6 {
        margin-left: 50%;
   }
   #grid .column.grid-6 {
        margin-left: 51.2%;
   }
   #grid .gutter.left.grid-7 {
        margin-left: 57.33333333333335%;
   }
   #grid .gutter.right.grid-7 {
        margin-left: 58.53333333333334%;
   }
   #grid .column.grid-7 {
        margin-left: 59.73333333333335%;
   }
   #grid .gutter.left.grid-8 {
        margin-left: 65.86666666666666%;
   }
   #grid .gutter.right.grid-8 {
        margin-left: 67.06666666666666%;
   }
   #grid .column.grid-8 {
        margin-left: 68.26666666666667%;
   }
   #grid .gutter.left.grid-9 {
        margin-left: 74.4%;
   }
   #grid .gutter.right.grid-9 {
        margin-left: 75.6%;
   }
   #grid .column.grid-9 {
        margin-left: 76.80000000000001%;
   }
   #grid .gutter.left.grid-10 {
        margin-left: 82.93333333333334%;
   }
   #grid .gutter.right.grid-10 {
        margin-left: 84.13333333333334%;
   }
   #grid .column.grid-10 {
        margin-left: 85.33333333333334%;
   }
   #grid .gutter.left.grid-11 {
        margin-left: 91.46666666666667%;
   }
   #grid .gutter.right.grid-11 {
        margin-left: 92.66666666666666%;
   }
   #grid .column.grid-11 {
        margin-left: 93.86666666666667%;
   }
   #grid .column {
        width: 6.133333333333333%;
   }
}


@media only screen and (max-width: 800px) {

   .primaryContainer {
    height: auto;
    margin-left: auto;
    margin-right: auto;
    min-height: 100%;
    max-width: 88%;
    width: 88%;
    
}
#image {
    float: left;
    width: 31%;
    margin-top: 10%;
    clear: none;
    color: rgb(0, 0, 0);
}

#login {
    
    background-color: #435757;
    border-radius: 4px;
    width:46%;
    height:65%;
    position: relative;
    bottom: 18%;
    top: 18%;
    left: 27%;
    right: 27%;
    box-shadow: 0px 3px 9px #888888;
}

.text_login{
  margin-left: 5%;
  margin-top: 5%;
  color:#afccc9;
  font-weight: 700;
  letter-spacing: 0.025em;
  line-height: 0.5em;

}

.text_login1{
 
  margin-top: 6%;
  margin-right:10%;
  text-align: right; 
  color:#cddedc;
  font-weight: 600;
  letter-spacing: 0.025em;
  line-height: 0.5em;
  font-size: 0.8em;
  float:left;
  clear: both;

}




.image_login {
    margin-left: 5%;
    margin-top: 5%;
}

.input_login {
    margin-left: 10%;
    border-radius: 3px;
    border-style:solid;
    border-color:#3b4b4b;
    opacity: 0.90;
    background-color: #d4e5e3;
    float: left;
    clear: both;

    
}

.btn_login {
    margin-left: 87%;
    margin-top: 2%;
    background-color: #cddedc;
    border-radius: 4px;
    border-style:solid;
    border-color:#3e5050;
    color:#2c3939;
    font-weight: 500;
    letter-spacing: 0.025em;
    
}

#search_bar {
  margin-left:68%; 
  background-color:rgba(67, 87, 87, 0.2);
  border: 0 none;
    font: bold 0.75em Arial,Helvetica,Sans-serif;
    color: rgba(58, 75, 75, 0.7);
    width: 110px;
    padding: 6px 15px 6px 15px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 3px rgba(0, 0, 0, 0.2) inset;
    -moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 3px rgba(0, 0, 0, 0.2) inset;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 3px rgba(0, 0, 0, 0.2) inset;
    
}

#search_btn {
  width:29px;
}


#sliderFrame {position:relative;width:400px;float:right;
  margin-top:7%;
  margin-right:5%;} 
#slider img {
  position:absolute;
  border:none;
  display:none;
}
        
#slider {
  width:400px;height:266px;/* Make it the same size as your images */
  background:#fff url(loading.gif) no-repeat 50% 50%;
  position:relative;
  box-shadow: 0px 1px 5px #999999;
}

#text1 {
    margin-left: 28%;
    clear: none;
    position: absolute;
    float: left;
    min-width: 0px;
    text-align: left;
    letter-spacing:normal;
    font-size: 0.9em;
    top:13%;
    
}

#text1 ul
    {
    }
      
      #text1 ul li
      {
        float: left;
        line-height: 4.5em;
        padding-left: 0.1em;
      }

        #text1 ul li a
        {
          font-weight: 800;
          letter-spacing: 0.020em;
          color: #3a4b4b;
          text-decoration: none;
          border-radius: 6px;
          padding: 0.3em 0.6em 0.3em 0.6em;
          
        }



#box1 {
    float: left;
    height: 390px;
    margin-top: 4%;
    clear: both;
    width: 100%;
    background-color: rgb(255, 255, 255);
    opacity: 1;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    min-width: 20%;
    min-height: 0px;
    position: relative;
    top: 0px;
    left: 0px;
    max-width: 100%;
    max-height: 100%;
}
#box {
    float: left;
    height: 6%;
    margin-left: 0px;
    margin-top: 0px;
    clear: none;
    width: 8%;
    background-color: rgb(172, 54, 54);
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
    position: absolute;
    top: 0px;
    left: auto;
    right: 6%;
}



#text {
    float: left;
    font-size: 0.85em;
    width: 67.06539923954372%;
    height: auto;
    text-align: center;
    font-weight: normal;
    line-height: 1em;
    word-wrap: break-word;
    margin-top: -7px;
    clear: none;
    min-height: 17px;
    color: rgb(255, 255, 255);
    position: absolute;
    top: 16px;
    left:2%;
    min-width: 0px;
    font-family: Arial, Helvetica, sans-serif;
}

#text_size {
  font-size: 1.4em;
}

#text2 {
    float: left;
    font-size: 1em;
    width: 19.340136054421766%;
    height: auto;
    text-align: left;
    font-weight: normal;
    line-height: 1em;
    word-wrap: break-word;
    margin-left: 5.054421768707483%;
    margin-top: 151px;
    clear: both;
    min-height: 185px;
}

#text2_footer {
    float: left;
    font-size: 0.7em;
    width: 60%;
    height: auto;
    text-align: left;
    font-weight: normal;
    line-height: 1em;
    word-wrap: break-word;
    margin-left: 5.054421768707483%;
    margin-top: 51px;
    clear: both;
    min-height: 185px;
}


#table_footer {
  width:70%;
  
}

#box-admin {
    float: left;
    height: 6%;
    margin-left: 0px;
    margin-top: 0px;
    clear: none;
    width: 15%;
    background-color: rgb(172, 54, 54);
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
    position: absolute;
    top: 0px;
    left: auto;
    min-width: 85px;
    right: 6%;
    box-shadow: 0px 2px 9px #888888;
    opacity: 0.95;
    position: absolute;
    text-align: center;

}

#admin-menu {
    margin-top:90px;
    clear: none;
    position: absolute;
    top: 10%;
    float: right;
    min-width: 0px;
    text-align: left;
    font-size: 0.93em;
    right: auto;
    letter-spacing: normal;
}

#admin-menu ul
    {
    }
      
      #admin-menu ul li
      {
        float: left;
        line-height: 4.5em;
        padding-left: 0.1em;
      }

        #admin-menu ul li a
        {
          font-weight: 800;
          letter-spacing: 0.020em;
          color: #3a4b4b;
          text-decoration: none;
          border-radius: 6px;
          padding: 0.3em 0.6em 0.3em 0.6em;
          
        }


   #grid .column.grid-0 {
        margin-left: 0%;
   }
   #grid .gutter.left.grid-1 {
        margin-left: 6.133333333333333%;
   }
   #grid .gutter.right.grid-1 {
        margin-left: 7.333333333333332%;
   }
   #grid .column.grid-1 {
        margin-left: 8.533333333333333%;
   }
   #grid .gutter.left.grid-2 {
        margin-left: 14.666666666666664%;
   }
   #grid .gutter.right.grid-2 {
        margin-left: 15.866666666666665%;
   }
   #grid .column.grid-2 {
        margin-left: 17.066666666666663%;
   }
   #grid .gutter.left.grid-3 {
        margin-left: 23.200000000000003%;
   }
   #grid .gutter.right.grid-3 {
        margin-left: 24.400000000000002%;
   }
   #grid .column.grid-3 {
        margin-left: 25.6%;
   }
   #grid .gutter.left.grid-4 {
        margin-left: 31.73333333333333%;
   }
   #grid .gutter.right.grid-4 {
        margin-left: 32.93333333333333%;
   }
   #grid .column.grid-4 {
        margin-left: 34.13333333333333%;
   }
   #grid .gutter.left.grid-5 {
        margin-left: 40.266666666666666%;
   }
   #grid .gutter.right.grid-5 {
        margin-left: 41.46666666666666%;
   }
   #grid .column.grid-5 {
        margin-left: 42.666666666666664%;
   }
   #grid .gutter.left.grid-6 {
        margin-left: 48.800000000000004%;
   }
   #grid .gutter.right.grid-6 {
        margin-left: 50%;
   }
   #grid .column.grid-6 {
        margin-left: 51.2%;
   }
   #grid .gutter.left.grid-7 {
        margin-left: 57.33333333333335%;
   }
   #grid .gutter.right.grid-7 {
        margin-left: 58.53333333333334%;
   }
   #grid .column.grid-7 {
        margin-left: 59.73333333333335%;
   }
   #grid .gutter.left.grid-8 {
        margin-left: 65.86666666666666%;
   }
   #grid .gutter.right.grid-8 {
        margin-left: 67.06666666666666%;
   }
   #grid .column.grid-8 {
        margin-left: 68.26666666666667%;
   }
   #grid .gutter.left.grid-9 {
        margin-left: 74.4%;
   }
   #grid .gutter.right.grid-9 {
        margin-left: 75.6%;
   }
   #grid .column.grid-9 {
        margin-left: 76.80000000000001%;
   }
   #grid .gutter.left.grid-10 {
        margin-left: 82.93333333333334%;
   }
   #grid .gutter.right.grid-10 {
        margin-left: 84.13333333333334%;
   }
   #grid .column.grid-10 {
        margin-left: 85.33333333333334%;
   }
   #grid .gutter.left.grid-11 {
        margin-left: 91.46666666666667%;
   }
   #grid .gutter.right.grid-11 {
        margin-left: 92.66666666666666%;
   }
   #grid .column.grid-11 {
        margin-left: 93.86666666666667%;
   }
   #grid .column {
        width: 6.133333333333333%;
   }
}

@media only screen and (max-width: 320px) {
  #box {
    display:none;
  }

  #box-admin {
    display:none;
  }

  #text1 {
    clear: none;
    position: absolute;
    float: left;
    min-width: 0px;
    text-align: left;
    letter-spacing:normal;
    font-size: 0.6em;
    margin-top: 8%;
    margin-left: 2%;
    
    
    
}

#text1 ul
    {
    }
      
      #text1 ul li
      {
        float: left;
        line-height: 4.5em;
        padding-left: 0.1em;
      }

        #text1 ul li a
        {
          font-weight: 800;
          letter-spacing: 0.020em;
          color: #3a4b4b;
          text-decoration: none;
          border-radius: 6px;
          padding: 0.3em 0.6em 0.3em 0.6em;
          
        }

#search_bar {
  display:none;
    
}

#search_btn {
  display:none;
}


#sliderFrame {position:relative;width:150px;float:left; clear:both;
  margin-top:7%;
  margin-left:3%;} 
#slider img {
  position:absolute;
  border:none;
  display:none;
}
        
#slider {
  width:150px;height:86px;/* Make it the same size as your images */
  background:#fff url(loading.gif) no-repeat 50% 50%;
  position:relative;
  box-shadow: 0px 1px 5px #999999;
}

#image {
    float: left;
    width: 61%;
    margin-top: 10%;
    clear: none;
    color: rgb(0, 0, 0);
}

#box1{
  margin-top: 10%;
}

}


