/*
 Theme Name:   techiaith 
 Theme URI:    http://example.com/twenty-fifteen-child/
 Description:  Quark sub theme 
 Author:       Patrick Robertson, Dewi Bryn Jones 
 Template:     quark 
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  twenty-fifteen-child
*/

/* Vectora font */

@import url("../quark/style.css");
@import url("https://fast.fonts.net/lt/1.css?apiType=css&c=cd8a8588-f518-4b5a-be19-6fed08e9edb0&fontids=739131");
@import url("https://fonts.googleapis.com/css?family=Voces");

@font-face{
	font-family:"Vectora W02_55 Roman";
	src:url("fonts/739131/3a75d93a-3195-44da-b872-ffaa9f1bcff2.eot?#iefix");
	src:url("fonts/739131/3a75d93a-3195-44da-b872-ffaa9f1bcff2.eot?#iefix") format("eot"),url("fonts/739131/970bf0c3-babc-47ad-853d-4317de478899.woff") format("woff"),url("fonts/739131/7ea74523-99af-4bd0-9d5f-a30162d35680.ttf") format("truetype"),url("fonts/739131/5be7dbf4-0142-4bd8-a94d-e08da2925844.svg#5be7dbf4-0142-4bd8-a94d-e08da2925844") format("svg");
}

h1, h2, h3, h4, h5 {
	font-family:'Vectora W02_55 Roman', 'Voces';
	text-transform:uppercase;
}

/* Used for clearing floats */
.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.col:first-child {
    margin-left: 0;
    margin-top: -15px;
}

#navcontainer {
	min-height:54px;
	/*background-color: #16A085;*/
}

.main-navigation {
	float:none;
	padding-top:14px;
	max-width:1200px;
	margin: 2.8125rem auto 0 auto;

}

.main-small-navigation a, .main-navigation a, .main-navigation li:hover > a {
	font-family:'Vectora W02_55 Roman', 'Voces';
	text-transform:uppercase;
	color:#F5F5F7;
}

.main-small-navigation a:visited, .main-navigation a:visited {
	color:#F5F5F7;
}

.main-navigation .current-menu-item > a, 
.main-navigation .current-menu-ancestor > a,
.main-navigation .current_page_item > a, 
.main-navigation .current_page_ancestor > a,
.main-navigation .current_page_parent > a {
	font-weight:bold;
	color:#F5F5F7;
}

.nav-menu {
	font-weight:normal;
}

.nav-menu:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.main-navigation ul ul a {
	width: 15em;
}

#bannercontainer {
	margin-top:0;
}

#headercontainer {
	/*background-color:#1ABC9C;*/
}

#site-image {
	float:left;
	min-width:140px;
}

#site-title {
	display:inline;
}

#site-title h1 {
	margin-top:1.25rem;
	color:#F5F5F7;
	word-break:keep-all;
	font-size:2rem;
}

.line-1, .line-2 {
	display: block;
}

#titlecontainer {
	margin-top: 1.25rem;
}

.banner {
	padding:0;
	min-height:0;
}

.home .banner .widget {
	margin:0;
}

#secondary h1, #secondary h2, #secondary h3 {
	/*color: #16A085;*/
}

.social-media-icons ul {
	margin:0;
}

.social-media-icons ul li:not(:first-child) {
	padding-left:15px;
}

.social-media-icons img {
	padding-top:10px;
	vertical-align:middle;
}

#maincontentcontainer .home-sidebar .widget {
	border-top: solid 25px rgb(2, 149, 123);
	border-width: 25px 0 0 0;
	-webkit-border-radius: 0px;
	border-radius: 0px;
}

#secondary a {
         text-decoration:none;
	 color:#333;
}

#secondary a:visited {
	color:#333;
}

#secondary a:hover {
	color:#2997ab;
}

#secondary .menu-item-has-children {
	margin-bottom:3rem;
}

#secondary .menu > .menu-item-has-children > a:first-child {
    font-family: "Vectora W02_55 Roman","Voces";
    text-transform: uppercase;
    margin-bottom: 0.375rem;
    font-size: 1.75rem;
    line-height: 1.2857;
}

#secondary .menu ul {
    margin-left: 0;
}

#footercontainer a {
	text-decoration:none;
}

button, 
input[type="button"], 
input[type="reset"], 
input[type="submit"] {
    background-color: #0f9b0f;
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    max-width: 250px;
    te\xt-decoration: none;
    display: block;
    font-size: 16px;
}

#langbar {
	float:right;
	margin-top:10px;	
}

.wpml-ls-native {
	color: #FDEEE6 !important; 
    display: block;
    text-decoration: none;
    padding: 5px 10px;
    line-height: 1;
	font-family: 'Vectora W02_55 Roman', 'Voces';
	font-size: 100%;
	text-transform: uppercase;	
}

/* medium screen */


@media only screen and (max-width: 1200px) {

	#site-title h1 {
		margin-top:0;
	}
}

/* small screen */

@media only screen and (max-width: 520px) {
.main-small-navigation ul li,
	.main-navigation ul li {
		background-color: inherit;
		margin: 5px 0;
		text-align: center;
	}
}

@media only screen and (max-width: 650px) {
	#bannercontainer .banner {
		width:100%;
	}
}
@media only screen and (max-width: 800px) {
	.menu-dewislen-container {
		padding:0 40px;
	}

	#site-image {
		margin:0 auto;
		float:none;
		width:120px;
		min-width:120px;
	}

	#site-title, .social-media-icons {
		text-align:center;
	}
	#site-title h1 {
		margin-top:1.65rem;
	}
}

@media only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px)  {

	/* Force table to not be like tables anymore */
	table, thead, tbody, th, td, tr { 
		display: block; 
	}
	
	/* Hide table headers (but not display: none;, for accessibility) */
	thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	
	tr { border: 1px solid #ccc; }
	
	td { 
		/* Behave  like a "row" */
		border: none;
		border-bottom: 1px solid #eee; 
		position: relative;
		padding-left: 50%; 
	}
	
	td:before { 
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 45%; 
		padding-right: 10px; 
		white-space: nowrap;
	}
}
