﻿/* responsive styling */

/*
#s4-ribbonrow, .testnotice1 {
	display: none!important;
}
*/


@media only screen and (max-width: 1008px){


	#see_also_onit {
		background: white!important;
	}
	
	.cm_sub_holder {	
		width: 100%!important;
		left: 0px!important;
		top: 0px!important;	
	    height: 100%;
    }

	.cm_top a {
		width: 100%;
	}

	.cm_top, .cm_top_link {
	    float: left;
	    width: 100%!important;
	}

	#new_menu, .cm_sub_advice {
		display:none;
	}
	
	.cm_sub {
		width: 100%!important;
		max-height:100%!important;
		background:white!important;
	}
	
	.cm_sub_panel {
		width: 100%!important;
    	left: 0px!important;
		top: 53px;
	}
	
	.cm_sub_panel_links, .cm_sub_panel_links a, .cm_menu {	
		width: 100%!important;
	}
	
	.cm_sub_panel_links {
		height: 100%!important;   
		padding-top: 0px!important;
		padding: 5px!important;
	}
	
	.cm_top_link:before {
		display:none!important;
	}
	
	.cm_top_link:after, .cm_home_link:after, .cm_sub_links:after {
   		content: "\f054";
	    float: right;
	    font-family: "Font Awesome 5 Pro";
    	font-weight: 400;
    }
	
	#mainmenu {
		height:100%;
	}
	
	.cm_sub_panel {
		top: 53px!important;
		position:relative;
		-webkit-box-shadow: 0px 22px 33px -4px rgba(0,0,0,0.36);
		-moz-box-shadow: 0px 22px 33px -4px rgba(0,0,0,0.36);
		box-shadow: 0px 22px 33px -4px rgba(0,0,0,0.36);
		min-height: 650px;
	}
	
	.cm_close {
		display:none;
	}
	
	
	.cm_sub_back {
		display:block!important;
		background: #f9f9f9;
    	border-bottom: 1px solid #e6e6e6;
	}

	.cm_sub_links {
    	padding-top: 13px!important;
    	padding-bottom: 13px!important; 
    }
	
	.cm_sub_bottom, .cm_panel_bottom {
	    background: #ececec!important;
	    width: 100%;
	    color: black!important;
	    text-align: center;
	    border-top: 1px solid silver!important;
        padding: 10px;
        float:left;
	}
	
	.cm_mobile_options {
		display:block!important;
	}
	
	.cm_top_first:before {
		display:none;
	}
	
	
	.cm_visit_holder {
	    width: 100%!important;
	    margin-left: 0%!important;
	    margin-bottom: 0px!important;
	    background: white;	
	    padding-left: 20px!important;	
	    padding-right: 20px!important;	
	}
	
	.cm_visit_links {
		width: 100%!important;
		margin-top: 15px!important;
    	margin-bottom: 0px!important;
	}

}




.cm_panel_bottom {
	cursor: pointer;
}


.cm_close {
    float: left;
    width: 100%;
    background: silver;
    z-index: 98;
    position: absolute;
    background: #015b66;
    border: 0px;
    color: white;
    padding: 5px;
    right: -32px;
    top: 0px;
    width: 40px;
    height: 100%;
    font-size:1.3em!important;
}

.cm_close:hover, .cm_close:focus {
	background: #0a8090;	
		  -webkit-transition: all 0.3s ease;                  
    -moz-transition: all 0.3s ease;                 
    -o-transition: all 0.3s ease;   
    -ms-transition: all 0.3s ease;          
    transition: all 0.3s ease;

}



.cm_sub_back {
    width: 100%;
    padding: 15px;
    display:none;
}

.cm_sub_back:before {
	content:"\f053";
	font-family: "Font Awesome 5 Pro";
    font-weight: 400;
	margin-right:15px;
}

#new_menu {
    float: left;
    width: 100%;
    background: #01383f;
    z-index: 92;
    position: relative;
    min-height: 43px;
}



.cm_menu {	
    max-width: 1900px;
    list-style: none;
    position: relative;
    background: #01383f;
    z-index: 99;
    margin-left: auto;
    margin-right: auto;
}

#section_nav .cm_sub_panel {
	display:block!important;
}


#section_nav li:first-child, #section_nav li:last-child {
	width: 100%!important;
}

#section_nav li:last-child a {	
	width: 97.5%!important;
}


#section_nav a {
	width: 95%!important;
}

.cm_top {
	float:left;
	
}


.cm_top a {
    float: left;
}

.cm_top a:hover  {	
	text-decoration:none;	
	-webkit-box-shadow: 0px 8px 10px -6px rgba(112,112,112,0.13);
-moz-box-shadow: 0px 8px 10px -6px rgba(112,112,112,0.13);
box-shadow: 0px 8px 10px -6px rgba(112,112,112,0.13);
}

.cm_top a:focus  {	
	text-decoration:none;	
	outline: 2px solid orange;
		-webkit-box-shadow: 0px 8px 10px -6px rgba(112,112,112,0.13);
-moz-box-shadow: 0px 8px 10px -6px rgba(112,112,112,0.13);
box-shadow: 0px 8px 10px -6px rgba(112,112,112,0.13);
}



.cm_sub_links_on {
	background:#fff!important;	
	position: relative;
    padding-left: 20px!important;
    min-height: 39px!important; 
    -webkit-box-shadow: 0px 8px 10px -6px rgba(112,112,112,0.13);
-moz-box-shadow: 0px 8px 10px -6px rgba(112,112,112,0.13);
box-shadow: 0px 8px 10px -6px rgba(112,112,112,0.13);
 
}

.cm_sub_links_on:after {
	content: "\f054";
	font-family: "Font Awesome 5 Pro";
    font-weight: 400;
	color: #025c67;
	float:right;
	font-size: 0.75em;
	animation-duration: 1s;
  	animation-name: fadein;	
  	position:relative;
  	top:5px;
}

.cm_sub_links_top {
	border-top: 0px!important;
}



@keyframes fadein {
  from {
    opacity: 0;
  }

  to {
    opacity: 1
  }
}


.cm_top_link, .cm_home_link, .cm_covid_link {
	color: white!important;
    margin-right: 1px;
    margin-top: 1px;
    margin-bottom: 1px;
    padding-left: 30px!important;
    padding-right: 30px!important;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;
    height: 45px;
    padding-top: 14px!important;
    font-size: 0.85em;
    padding: 8px;
    border-right: 1px solid #0b5560;
}


.cm_home_link:before {
    content: "\f078";
    font-family: "fontAwesome";
    font-size: 0.6em;
    margin-right: 20px;
    position: relative;
    top: -3px;
    color: white;
}


.cm_covid_link:before {
    content: "\f129"!important;
	margin-right: 1px;
	opacity: 1;
	font-size: 0.9em !important;
	position: relative;
	left: -10px;
	top: -3px!important;
	border-radius: 50%;
	width: 23px;
	height: 23px;
	overflow: hidden;
	float: left;
	padding-top: 4px;
	text-align: center;
	color: white;
	border: 1px solid #45929a;
	padding-top: 3px;
	font-family: "Font Awesome 5 Pro";
	font-weight: 600;
}



.cm_top_first:before {
	content: "\f015";
	font-size: 0.9em;	
	top: 0px;
	font-family: "Font Awesome 5 Pro";
    font-weight: 600;
}

.cm_top_link:hover, .cm_top_link:focus, .cm_top_link_on, .cm_home_link:hover, .cm_home_link:focus, .cm_covid_link:hover, .cm_covid_link:focus {
	background:#077181!important;	
}



#cm_scroll_instructions {	
    position: absolute;
    top: 402px;
    left: 0px;
    width: 22%;
    background: #17454c;
    text-align: center;
    color: white;
    font-size: 0.7em;
    border: 0px;
    outline: none;
    height: 25px;
    -webkit-box-shadow: inset 0px 2px 5px 0px rgba(0,0,0,0.16);
    -moz-box-shadow: inset 0px 2px 5px 0px rgba(0,0,0,0.16);
    box-shadow: inset 0px 2px 5px 0px rgba(0,0,0,0.16);
    border-top: 1px solid #07282d;
    display:none;
}

#cm_scroll_instructions:hover {	
	background: #165058;
}


.cm_sub_holder {
	float: left;
    width: 84%;
    position:absolute;	  
    list-style:none;
    top: 43px;
    display:none;
    left: 6%;
    margin: 0px;
    background: white;
}

.cm_sub {
	float: left;
    width: 22%;
    position: static;
    top: 48px;
    left: 0;
    margin: 0px;
    list-style: none;
    z-index: 99;
    max-height: 520px;
	/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#f7f7f7+0,dbdbdb+47,cecece+100 */
	background: #f1f1f1;
}




.cm_sub::-webkit-scrollbar {
    width: 10px;
}
 
.cm_sub::-webkit-scrollbar-track {
    background: #074751;
}
 
.cm_sub::-webkit-scrollbar-thumb {
    background: #3b747b; 
}


.cm_sub_align {
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
    float: left;
    background: #01383f;
}

.cm_sub_panel {
	float: left;
    background: #fff;
    list-style: none;
    margin: 0px;
    width: 78%;
    display: none;
    position: absolute;
    left: 22%;
    top: 0px;
    bottom: 0px;
}



.cm_sub_panel a:hover, .cm_sub_panel a:focus {	
    background: whitesmoke;
    color: #074751!important;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    text-decoration:none;
}

.cm_sub_left {
	width: 22%;
	float: left;
}

.cm_sub_right {
	width: 78%;
	float: left;
}



.cm_sub_links {
	float: left;
	width: 100%;
	color:black!important;
    padding-top: 10px;
	font-weight: 400!important;
    font-size: 0.85em!important;
    padding-left: 20px;
    padding-right: 15px;
    min-height: 39px;
     -webkit-transition: all 0.3s ease;                  
    -moz-transition: all 0.3s ease;                 
    -o-transition: all 0.3s ease;   
    -ms-transition: all 0.3s ease;          
    transition: all 0.3s ease;    
}



.cm_sub_links:hover, .cm_sub_links:focus {	
   background: #c9c9c9;
   text-decoration:underline!important;
   outline: 1px solid #015b66 !important;
}



.cm_sub_open {
	display:block;
}

.cm_sub_top {
	background: #323232!important;
}


.cm_sub_panel_links {
	float: left;
	width: 72%;
	padding:20px;
	box-sizing: border-box;
}

.cm_sub_panel_links ul {	
	list-style:none;
	margin:0px;
	padding: 0px;
}


.cm_sub_panel_links h3 {
	width: 100%;
	margin-left: 15px;
	color: #015b66;
	margin-top: 10px;
    font-size: 1.1em!important;
}

.cm_sub_panel_links a {
	width: 50%;
    margin-bottom: 4px;
    float: left;
    position: relative;
    padding: 9px;
    background: #ffffff;
    font-size: 0.9em;
    color:#232323!important;
    border:1px solid white;
    padding-left: 14px;    
    padding-right: 30px;
}



.cm_sub_panel_links a:before {
    content: "\f054";
    float: right;
    margin-right: 15px;
    font-family: "Font Awesome 5 Pro";
    font-weight: 400;
    -webkit-transition: all 0.3s ease-in;
    -moz-transition: all 0.3s ease-in;
    -o-transition: all 0.3s ease-in;
    transition: all 0.3s ease-in;
    position: absolute;
    right: 5px;
    opacity: 0.9;
    margin-left: 7px;
    color: #015b66;
}




.cm_sub_hide:after {
	opacity: 0!important;
	-webkit-transition: opacity 0.5s ease-in-out;
    -moz-transition: opacity 0.5s ease-in-out;
    -ms-transition: opacity 0.5s ease-in-out;
    -o-transition: opacity 0.5s ease-in-out;
}


.cm_sub_links_all {
	width: 96%!important;
    border-top: 1px solid #d8d8d8!important;
    margin-top: 15px;
    padding-top: 20px!important;
    border-left: 0px!important;
    border-bottom: 0px!important;
    border-right: 0px!important;
    box-shadow: none!important;
}

.cm_sub_advice {
    float: right;
    width: 25%;
    color: white;
    box-sizing: border-box;
    position: absolute;
    background: #f8f8f8;
    padding: 10px;
    bottom: 0px;
    top: 0px;
    right: 0px; 
    overflow: hidden;
    border-left: 1px solid #e2dede;
}


.cm_sub_advice ul, .cm_sub_advice li {
	list-style:none;
	margin-left: 0px!important;
}

.cm_advice_link {
    float: left;
    width: 97%;      
    padding: 0px!important;
    position: relative;
    right: -1px;
    background:#017988!important;
      -webkit-transition: all 0.3s ease;                  
    -moz-transition: all 0.3s ease;                 
    -o-transition: all 0.3s ease;   
    -ms-transition: all 0.3s ease;          
    transition: all 0.3s ease;
    overflow: hidden;
    margin-bottom:10px;
}

@keyframes slidein {
  0% {
    left: -105%;    
    opacity: 0;
  }

  50% {  
    opacity: 0.1;
  }

  
  100% {
    left: 0%;    
    opacity: 1;
  }
}





.cm_advice_link:hover, .cm_advice_link:focus {	
	background: #015b66!important;
	border:0px!important;
	border-radius: 0px!important;
}


.cm_advice_image {	
    float: left;
    height: 94px;
    background-size: cover!important;
    background-repeat: no-repeat!important;
    width: 100%;
    clear: both;
    overflow: hidden;
}

.cm_advice_link span { 
    color: white;
    padding: 5px;
	padding-left: 13px;
    padding-right: 13px;
    bottom: 0px;
    box-sizing: border-box;
    margin-bottom: 8px;
    width: 100%;
    float: left;
}

.cm_advice_link span h4 {
	margin: 0px!important;
    color: #fff!important;
    font-size: 1em;
    margin-top: 5px!important;
    margin-bottom: 5px!important;
}

.cm_advice_link span p {
	color: #fff!important;
    font-size: 0.8em;
    font-weight: 300;
}


.cm_mobile_link {
    color: white!important;
    padding-left: 25px;
    padding-top:10px;
    padding-bottom:10px;
    float: left;
}


.cm_mobile_options {
	float:left;
	margin-top: 30px;
	margin-bottom: 30px;
	display:none;
	list-style:none;
	margin-left: 5px;
}




.ct_content_inner ul {
	float:left;
	margin-bottom:20px;
}


#see_also_onit,#see_also_onityc {
	background: #d3d3d3;    
}


.nu_homepage_tagline {
    top: 18px;
}


.cm_top_link, .cm_home_link {
	margin-top: 0px;
	margin-bottom:0px;
}

.cm_top_link:before {
	content: "\f078";
    font-family: "fontAwesome";
    color: white;
    opacity: 1;
    position: relative;
    left: -10px;
    top: -1px;
    font-size: 0.7em;
    font-family: "Font Awesome 5 Pro";
    font-weight: 400;	
}

.nu_header_holder {
	background-image: none!important;
}

.nu_dragon {	
	display:none!important;
}

#mainmenu {
    background-color: #0b616d!important;
    border-top: 1px solid #0b5560;
}

#new_menu {	
	background:none!important;
}

#new_menu, .cm_top_link {
    background: none!important;
}

.report_pay_buttons  {
	top: 0px!important;
	z-index: 92;
}

.report_pay_buttons a {
    padding: 10px;
    border-left: 1px solid #0b5560;  
}


.search_top_holder {
	-webkit-border-radius: 32px;
    -moz-border-radius: 32px;
    border-radius: 32px;
}

.cm_sub_panel_links a[target=_blank]:before {
    content: "\f08e";
    font-size:0.85em!important;
}

.menu_picture_holder {
	float:left;
	width: 33%;
	
}

.menu_picture_holder h3 {
    margin-top: 10px;
    color: #06616d;
    font-size: 1.1em!important;
    margin-bottom: 9px!important;	
}


.menu_picture_holder p {
	color: black;
	font-size:0.9em;	
}


.menu_visiting_holder {
    padding: 30px;
    float: left;
    width: 80%;
    margin-left: 10%;
}

.menu_picture {
	background-image:url('/Style Library/IMAGES/visit_cardiff.png');
	background-size: cover;
	height:200px;
	width: 100%;
	float:left;
}


.menu_picture span {
	float:left;
	width: 100%;
	background: black;
	color:white;
	text-align:center;
	padding:5px;
	box-sizing: border-box;
}

