﻿
/* Desktop */
@media only screen and (min-width: 1041px)
{
    body
    {
         max-width: 1024px;
    }

    .MobileContent, .menu
    {
        display: none;
    }

    #Header1
    {
        height: 85px;
    }

    #Header1 ul
    {
        /*right: 360px;*/
    }
    
    #Header1 ul
    {
        position: absolute;
        bottom: 34px;
        margin: 0;
        padding: 0;
        list-style: none;
        left: 110px;
    }
    #Header1 #SiteSearchTextBox
{
    position: absolute;
    bottom: 20px;
    font-size: 1.35em;
    padding: 8px;
    color: #656365;
    right: 61px;
    width: 260px;

    
    /* height: 24px; */
    
}

    /*#Header1 #SiteSearchTextBox
    {
        right: 61px;
        width: 260px;
    }*/

    #Header1 #SiteSearchImage
    {
        right: 19px;
    }

    .BannerImageBreadcrumbTrail
    {
        
        margin: 22px 0px 0 34px;
     }

    .NoBannerImageBreadcrumbTrail
    {
        margin: 32px 0 0 110px;
        position: relative;
        top: -10px;
    }
    
    #gccLogoTop
{
    position: absolute;
    top: 16px;
    left: 19px;
    z-index: 99;
    max-width: 100%;
	border: none;
}

    #gccLogoTop  img
    {
	    max-width: 100%;
	    border: none;
    }


    #TemplateContent
    {
        margin: 32px;
    }
    
    #ImproveThisPage
    {
        width: 640px;
        margin: 0 32px 32px;
    }
        
    #AtoZ
    {
        top: -85px;
    }
    
    
    #AtoZ ul
    {
        left: -12px;
    }
    
    #AtoZ a
    {
        width:37px;
    }
    
    #AtoZ span
    {
        width:30px;
    }
    
    #AtoZ .last a, #topAtoZ .last a
    {
        width: 31px;
    }

    
    #Footer1, #Footer2, #Footer3
    {
        top: -85px;
    }
        
    #Footer1 li
    {
        width: 308px;
    }

    #Footer3
    {
        position: relative;
        height: 30px;
    }

    #Footer3Links
    {
        position: absolute;
        bottom: 0;
        left: 0;
    }

    #Footer3Logos
    {
        position: absolute;
        top: -62px;
        right: 0;
    }

#Footer3Links li, #Footer3Logos li
{
    float: left;
    margin: 0;
    margin-left: 0px;
    margin-right: 12px;
    margin-top: 16px;
    padding: 0;
  
}

    
}

/* Tablet */
@media only screen and (min-width: 702px) and (max-width: 1040px)


{
    body
    {
         min-width: 686px;
    }
    
    #Header1
    {
        height: 85px;
    }
    
    /*#Header1 ul
    {
        right: 340px;
    }*/

    #Header1 ul
    {
        position: absolute;
        bottom: 34px;
        margin: 0;
        padding: 0;
        list-style: none;
        left: 110px;
    }

     /*#Header1 ul {
        position: absolute;
        top: 21px;
        margin: 0;
        padding: 0;
        list-style: none;
        left: 90px;
        font-size:large;
    }*/
        #Header1 #SiteSearchTextBox
{
    position: absolute;
    bottom: 20px;
    font-size: 1.35em;
    padding: 8px;
    color: #656365;
    
    /* height: 24px; */
    
}

    #Header1 #SiteSearchTextBox
    {
        right: 61px;
        width: 260px;
    }

    #Header1 #SiteSearchImage
    {
        right: 19px;
    }

    /*.MobileContent
    {
        /*display: none;
    }*/
    #gccLogoTop
{
    position: absolute;
    top: 16px;
    left: 19px;
    z-index: 99;
    max-width: 100%;
	border: none;
}
    #gccLogoTop  img
    {
	    max-width: 100%;
	    border: none;
    }

    .BannerImageBreadcrumbTrail
    {
        margin: 4px 32px 0;
    }

    .NoBannerImageBreadcrumbTrail
    {
        margin: 27px 0 0 110px;
        position: relative;
        top: -5px;
    }
    
    #TemplateContent
    {
        margin: 32px;        
    }
     #ImproveThisPage
    {
        width: 640px;
        margin: 0 32px 32px;
    }
        
    #AtoZ
    {
        top: -85px;
    }
    
    
    #AtoZ ul
    {
        left: -12px;
    }
    
    #AtoZ a
    {
        width:37px;
    }
    
    #AtoZ span
    {
        width:30px;
    }
    
    #AtoZ .last a, #topAtoZ .last a
    {
        width: 31px;
    }

    
    #Footer1, #Footer2, #Footer3
    {
        top: -85px;
    }
        
    #Footer1 li
    {
        width: 308px;
    }

    #Footer3
    {
        position: relative;
        height: 30px;
    }

    #Footer3Links
    {
        position: absolute;
        bottom: 0;
        left: 0;
    }

    #Footer3Logos
    {
        position: absolute;
        top: -62px;
        right: 0;
    }
    #Footer3Links li, #Footer3Logos li
{
    float: left;
    margin: 0;
    margin-left: 0px;
    margin-right: 12px;
    margin-top: 16px;
    padding: 0;
    
}
   
}


    /* Tablet Portrait mode*/
@media only screen and (min-width: 702px) and (max-width: 900px) {
    body {
        max-width: 686px;

    }
     #Footer3Logos
    {
        position: absolute;
        top: -15px;
        right: 17px;
        width:38%;
        padding:0px !important;
    }
      #ImproveThisPage
    {
        margin: 0 32px 32px;
    }
    
    #AtoZ
    {
        top: -85px;
    }

    #AtoZ ul
    {
        left: -5px;
    }
    
    #AtoZ a
    {
        width:23.6px;
    }
    
     #AtoZ span
    {
        width:20px;
    }
   
    #Footer1, #Footer2, #Footer3
    {
        top: -85px;
    }
    
    #Footer1 li
    {
        width: 299px;
    }

    #Footer3
    {
        position: relative;
        height: 85px;
    }

    #Footer3Links
    {
        position: absolute;
        bottom: 0;
        left: 0;
        width:60%;
    }

   
    
    iframe .resize 
    {
        width: 300px;
    }

    #Footer3Links li, #Footer3Logos li
{
    float: left;
    margin: 0;
    margin-left: 0px;
    margin-right: 12px;
    margin-top: 16px;
    padding: 0;

}

}

/* Mobile */
@media only screen and (max-width: 701px)
{
    body
    {
         min-width: 350px;
         
    }
    
    /* Hide the Links on Header 1 and the top gccLogo */
    
    .NonMobileContent
    {
        /*display: none;*/
    }

    #Header1
    {
        height: 124px;
        
    }

    #Header1 ul {
        position: absolute;
        top: 21px;
        margin: 0;
        padding: 0;
        list-style: none;
        left: 99px;
        font-size:large;
    }

    /*.mobile  {
    
    border: thick;
    background-color: antiquewhite;
    width: 218px;
    height: 124px;
}*/
           
    
    

    #Header1 #SiteSearchTextBox
    {
        /*right: 60px;
        width: 60%;
        /*width:190px;*/
    /* position: absolute; */
    /* bottom: 20px; */
        font-size: 1.35em;
        padding: 7px;
        color: #656365;
        /* height: 24px; */
        margin-top: 62px;
        width: 70%;
    }

 

    #Header1 #SiteSearchImage
    {
        /*right: 20px;*/
    }
    
    #gccLogoTop
    {
        position: absolute;
        top: 0px;
        left: 12px;
        z-index: 99;
        max-width: 85%;
	    border: none;
        margin-top:11px;
        bottom:10px;
    }    

  #gccLogoTop  img
    {
	    max-width: 85%;
	    border: none;
    }

    .bx-wrapper
    {
        /*display:none;*/
        margin-top: 87px;
    }

    .BannerImageBreadcrumbTrail, .NoBannerImageBreadcrumbTrail
    {
        margin: 4px 16px 4px 16px;
    }

    #TemplateContent
    {
        margin: 16px;
    }
    
    #ImproveThisPage
    {
        margin: 0 16px 32px;
    }
    
    

    #AtoZ ul
    {
        left: -8px;
    }    
    
    #AtoZ a, #AtoZ span
    {
        width:27px;
    }

    #Footer1 li
    {
        width: 308px;
    }
    
    #Footer2Icons li
    {
        width:25%;
        margin: 0px !important;
    }
    
    #Footer2Icons .last img
    {
        float:right;
    }
      
    #Footer3
    {
        position:relative;
    }
    
    #Footer3Logos .last
    {
        margin-right:0px;
        height:110px;
    }
    
    #Footer3Logos .last img
    {
        width:200px;
        height:62px;
        vertical-align: baseline;
        position:relative;
        top:48px;
    }

    #Footer3Links  {
     width: 308;
     columns: 2;
    }
#Footer3Links li, #Footer3Logos li
{
    float: left;
    margin: 0;
    margin-left: 0px;
    margin-right: 12px;
    margin-top: 16px;
    padding: 0;
    width:400%
}


}

/* Navigation */
@media screen and (max-width: 1040px) {
    /*----- Toggle Button -----*/
    #desktoptopnav {display:none;}
	.toggle-nav {display:none;	}	 
	.menu ul {display:inline-block;z-index:150;bottom: auto !important;}	 
	.menu li {margin:0px !important;float:left;list-style:none;font-size:1.2em;text-align:left;}	 
	.menu li:last-child {margin-right:0px;}	 
	.menu a {transition:color linear 0.15s;}	 
	.menu a:hover, .menu .current-item a {text-decoration:none;color:#4E8BA0;}
    .menu {    position: absolute;    top: 16px;    left: 100px;} 
    .menu ul.active {display:none;} 
    .menu ul {    left: 0px !important;width:150px;position:absolute;top:125%;padding:0;box-shadow:0px 2px 2px rgba(0,0,0,0.15);border-radius:3px;background-color:#fff;z-index:150;border: 1px solid #fff;} 
    .menu ul:after {width:0px;height:0px;position:absolute;top:0%;left:5px;content:'';transform:translate(0%, -100%);border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid #fff;} 
    .menu li:hover{background-color:#f4f4f4;border:1px solid #f4f4f4;}
    .menu li {display:block !important;padding:10px !important;width: 85%;} 
    .menu a {display:block;text-decoration: none;  border: 1px solid #fff;}
    .menu a:hover {text-decoration: none !important;}  
    .menu li a {color:#656365 !important;}
    .menu span {font-weight:normal !important;color:#4E8BA0;}
    .toggle-nav {padding:0px 3px 2px;float:left;display:inline-block;text-shadow:0px 1px 0px rgba(0,0,0,0.5);color:#777;font-size:20px;transition:color linear 0.15s;text-decoration: none;} 
    .toggle-nav:hover, .toggle-nav.active {z-index:150;text-decoration:none; color:#000;}
    
    .mobile {  top: 62px;    left: 13px;}
    .mobile li a {font-size:0.9em !important;}
    .mobile .toggle-nav {font-size:26px !important;}
}

/* Common Style Selectors */

body
{
    font-family: Verdana;
    font-size: 0.9em;
    margin: 8px auto 8px auto;
}

h1
{
    font-weight: normal;
    font-size: 1.6em;
    margin: 0;
    padding: 0;
    padding-bottom: 8px;
    border-bottom-style: solid;
    border-bottom-width: 1px;
}

h1 img
{
    margin-left: 16px;
}

h2
{
    font-weight: normal;
    font-size: 1.3em;
    margin: 0;
    padding: 0;
    padding-bottom: 8px;
    border-bottom-style: solid;
    border-bottom-width: 2px;
}

h3
{
    font-weight: normal;
    font-size: 1.2em;
    margin: 0;
    padding: 0;
}

img
{
	max-width: 100%;
	border: none;
}

a
{
    text-decoration: none;
}

a:hover
{
    text-decoration: underline;
}

#skipnavdiv
{
    width: 100%;
}

    #skipnavdiv a
        {
text-align: center;
    }
#skipnav a, #skipnav a:link, #skipnav a:visited, a#skipnav, a#skipnav:link, a#skipnav:visited {
    background: #fff;
    color: #004269;
    text-decoration: none;
    text-indent: -9999px;
}


#skipnav a, a#skipnav {
    top: -30px;
}

#header h1, #skipnav a, .offscreen, a#skipnav {
    height: 1px;
    position: absolute;
    width: 1px;
    overflow: hidden;
}

#skipnav a:focus, a#skipnav:focus {
    height: auto;
    width: auto;
    position: static;
    overflow: visible;
    top: 0px;
    
}
#skipnav a:active, #skipnav a:focus, a#skipnav:active, a#skipnav:focus {
    background: #345663;
    color: #fff;
    text-decoration: underline;
}


#redesign {padding: 10px;margin:2px;border-bottom-width: 2px; border-bottom-style: solid;}
#redesign a {font-weight:bold;}

#Page
{
    border-style: solid;
    border-width: 2px;
    border-top:none;
}
    
#TemplateContent
{
    overflow: hidden;
}

#Header1
{
    position: relative;
    /*text-align: center;*/
    border-bottom-style: solid;
    border-bottom-width: 1px;
    z-index:100;
    padding-left:100px;
    margin-top:12px;
}



#Header1 #SiteSearchImage
{
    position: absolute;
    bottom: 20px;
    margin: 0;
    padding: 0;
}



#Header1 .MobileContent a
{
    /*top: 12px;
    font-size: 2em;*/
}


#Header1 li
{
    display: inline;
    margin: 0;
    margin-right: 4px;
    padding: 0;
}

/* End of header 1 */

.BreadcrumbTrail ul
{
    overflow: hidden;
    margin: 0;
    padding: 0;
    list-style: none;
}

.BreadcrumbTrail li
{
    float: left;
    margin: 0;
    margin-right: 8px;
    padding: 0;
}

.ReadMore
{
    float: right;
    width: 132px;
    margin-top: 16px;
    padding: 8px;
    padding-top: 6px;
    font-size: 1em;
    font-weight: bold;
    background: #458294 url("../Images/Buttons/Arrow_WhiteOnTeal.gif") right center no-repeat;
}

#ShareThisPage
{
    margin-top: 32px;
    font-weight:bold;
}

#ShareThisPageIcons
{
    overflow: hidden;
    margin: 15px 0px;
    padding: 0 0 16px;
    list-style: none;
    border-bottom:2px solid;
}

#ShareThisPageIcons .shareicon{
    height:23px;
    width:50px;
    background-repeat:no-repeat;
    display:inline-block;
}
 
#ShareThisPageIcons #facebook{
    background: #ffffff url("/glasgow2015/images/Icons/Share_Facebook.gif") left center no-repeat;
}
 
#ShareThisPageIcons #twitter{
    background: #ffffff url("/glasgow2015/images/Icons/Share_Twitter.gif") left center no-repeat;
}

#ShareThisPageIcons .shareicon img {
    background: #ffffff url("/glasgow2015/images/Icons/Share_Email.gif") right center no-repeat;
}

#ShareThisPageIcons li
{
    border-width:0px !important;
    padding: 0;
    float: left;
}

#ShareThisPageIcons .even iframe
{
    width:30px !important;
}

#ShareThisPageIcons .even a
{
    border:0px !important;
    background-color:#fff !important;
}

#ImproveThisPage p
{
    margin: 5px 0;
}

#ImproveThisPage
{
    font-weight: bold;
    border-bottom:1px solid;
    background: url("/glasgow2015/Images/Icons/ClosedArticle.png") no-repeat scroll right center;
}


/* A to Z Hyperlinks */

#AtoZ
{
    padding: 16px 32px;
    position: relative;
}

#AtoZ ul, #topAtoZ ul
{
    overflow: hidden;
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

#AtoZ li, #topAtoZ li
{
    float: left;
    margin: 0;
    margin-top: 8px !important;
    padding: 0 !important;
}

#AtoZ .even a, #topAtoZ .even a
{
    
}

#AtoZ .last a, #AtoZ .last span
{
    padding:8px 0px;
}

#AtoZ .first span
{
    padding:8px 0px;
}

#AtoZ p, #topAtoZ  p
{
    font-size: 1.2em;
    margin: 0;
    padding: 0;
}

#AtoZ a, #AtoZ span
{
    display: block;
    padding: 8px 0px;
    font-size: 1.2em;
    text-align:center;
}

/* End of A to Z */

#Footer1 p
{
    font-size: 1.2em;
    margin: 0;
    padding: 0;
}

/* Council Services */

#Footer1
{
    padding: 16px 32px 0px;
    position: relative;
}

#Footer1 ul
{
    overflow: hidden;
    margin: 0;
    padding: 0;
    padding-top: 16px;
    padding-bottom: 16px;
    list-style: none;
    border-bottom:1px solid;
}

#Footer1 li
{
    float: left;
    padding: 0;
    margin: 0;
    margin-top: 10px;
    margin-right: 10px;
}

/* Social Media  */

#Footer2
{
    padding: 16px 32px 0px;
    position: relative;
}

#Footer2Icons
{
    overflow: hidden;
    margin: 0;
    padding: 0;
    padding-top:16px;
    padding-bottom: 16px;
    list-style: none;
}

#Footer2Icons li
{
    float: left;
    margin: 0;
    margin-right: 16px;
    padding: 0;
}

/* Footer Links and Logos  */

#Footer3 
{
    border:0px;}

#Footer3Links, #Footer3Logos
{
    overflow: hidden;
    margin: 0;
    padding: 0 32px 12px 32px;
    list-style: none;
}



#Footer3Logos li
{
    margin-right: 5px !important;
}

#Footer3Links a, #Footer3Links span
{
    font-size: 0.9em;
}

#Header1 span
{
    font-weight: bold;
}
.Footer-Logo
{
    position:absolute;
    right:0; 
    top: 50%;
    transform: translateY(-50%);
    padding-right:32px;
}

.clear
{
    clear:both;
}

.scrollable.has-scroll::after {
    border-radius: 10px 0 0 10px / 50% 0 0 50%;
    content: "";
    height: 100%;
    left: 100%;
    position: absolute;
    top: 10px;
    width: 50px;
}
.scrollable.has-scroll {
    overflow: hidden;
    position: relative;
}

.scrollable {
    max-width: 100%;
    overflow-x: auto;
}

@media only screen and (max-width: 701px) {
    .election-results-container .scrollable {
        max-width: 79%;
    }
}

#Gazetteer
{
    margin-top: 40px;
    margin-bottom: 20px;
}
.scrollable.has-scroll > div {
    overflow-x: auto;
}
.scrollable>div::-webkit-scrollbar {
    height: 12px;
}
.scrollable>div::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 6px;
}

.resize
{
    position: relative;
    padding-bottom: 65.25%;
    padding-top: 30px;
    height: 0;
}

.resize iframe
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;   
}

@media only screen and (max-width: 1040px) {
    .ipad-iframe-container .resize {
        overflow: scroll;
        -webkit-overflow-scrolling: touch;
    }
}

/*
table{
	margin-bottom:20px;
}

tr>td:nth-child(2), tr>td:nth-child(3){
	text-align:left;
	vertical-align:top;
	padding-left:10px;
}

td{
	border-bottom:solid 1px #458294;
}

tr:first-child
{
    font-weight: bolder;
}
*/

.accordianSelector
{
    padding-right : 20px;    
}

.loginform__divider {
    display: none;
}

.loginform__pwrap.loginform__pwrap--icmsiteuser {
    display: none;
}