﻿/* ==== Google font ==== */
@import url('http://fonts.googleapis.com/css?family=Noto+Serif:400,400italic,700|Open+Sans:300,400,600,700');
@import url('http://fonts.googleapis.com/css?family=Arimo:400,700|Droid+Serif:400,700|Open+Sans:600,700');
/*Korean font */
@import url('http://fonts.googleapis.com/earlyaccess/nanumgothic.css');
/* === prettify === */
@import url('../js/google-code-prettify/prettify.css');
/* === fontawesome === */
@import url('font-awesome.css');
/* === custom icon === */
@import url('custom-fonts.css');
/* ==== overwrite bootstrap standard ==== */
@import url('overwrite.css');
@import url('animate.css');


body {
  font-family:'Open Serif', Arial, sans-serif;
  font-family:'FontAwesome', Arial;
  font-family: "Nanum Gothic", sans-serif;
	font-size:14px;
	font-weight:300;
	line-height:1.6em;
	color:#656565;
}

a:active {
	outline:0;
}

.clear {
	clear:both;
}

.korean-font {
  font-family: "Nanum Gothic", sans-serif;
}
h1,h2, h3, h4, h5, h6 {  
/*  font-family:'Open Serif', Arial, sans-serif;
  font-family: "Nanum Gothic", sans-serif;
  font-family:나눔고딕,NanumGothic,NG,돋움,Dotum,Arial,Helvetica,sans-serif;
 'Arial Unicode MS'  font-family: Arimo,"Droid Sans",Helvetica,Arial,sans-serif;*/
	font-weight:700;
	line-height:1.6em;
	color:#333;
	margin-bottom: 20px;
}

.disableClick{
    pointer-events: none;
}
.internship {
  font-size:16px;
  line-height:1.7em;
}
.jumbo-box {
  width:100%;
  height:100px;
  font-size:32px;
  vertical-align: middle;
}

.ktsd-jumbo-box {
  width:100%;
  height:175px;
  font-size:32px;
  vertical-align: middle;
}
.pgm-english {
  font-size: .9em;
}
.img-product-sample {
  margin: 0 50px 10px 5px;  
}
.shadow {
  box-shadow: 0 6px 12px rgba(0, 0, 0, .575);
} 
.white-shadow {
  box-shadow: 0 6px 12px rgba(255, 255, 255, .575);
} 

.thin-shadow {
  box-shadow: 0 2px 4px rgba(0, 0, 0, .275);
}
/*gray box with thin shadow*/
.box-gray-3d {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12) inset;
  border-color: -moz-use-text-color #FFFFFF #FFFFFF -moz-use-text-color;
  border-style: none solid solid none;
  border-width: medium 1px 1px medium;
  background: none repeat scroll 0 0 rgba(0, 0, 0, 0.07);
  -moz-border-bottom-colors: none;
  -moz-border-image: none;
  -moz-border-left-colors: none;
  -moz-border-right-colors: none;
  -moz-border-top-colors: none;
}

.box-white-shadow {
  -webkit-box-shadow:0 0 10px rgba(0, 0, 0, 0.5);
  -moz-box-shadow:0 0 10px rgba(0, 0, 0, 0.5);
  box-shadow:0 0 10px rgba(0, 0, 0, 0.5);
}
.box-lightgray-3d {
  -webkit-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
  -moz-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
  box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
}
.box-gray-3d {
  -webkit-box-shadow:0 1px 4px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 0, 0, 0.1) inset;
  -moz-box-shadow:0 1px 4px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 0, 0, 0.1) inset;
  box-shadow:0 1px 4px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 0, 0, 0.1) inset;
}

/*Program images on main page*/
#pgm-front-content ul li {
  padding:1px;
  margin:0;
}

/*Program page menu button space*/
#pgm-menu-buttons li a {
  padding:0; margin-right:1px;
}

/*The opacity works well with transparent background of the content when the 
parent div has color that you want to see on your div*/
.rss-content {
  /*background-color:rgb(255,255,255);*/
  background-color:transparent;
  margin-bottom:30px;
}
.rss-content-header-bg {
  background-color: #ffffff;
}

.rss-heading-text {
  display:inline-block;
  font-size:24px;
  margin-bottom:0;
  color: #222222;
  font-weight:800;
  text-shadow: 0px 2px 3px #888;
}
.page-heading-text {
  display:inline-block;
  font-size:24px;
  margin-bottom:0;
  color: #C40101;
  font-weight:700;
  text-shadow: 0px 4px 6px #888;
}
.live-tv-heading-text {
  display:inline-block;
  font-size:28px;
  margin-bottom:0;
  color: #C40101;
  font-weight:800;
  text-shadow: 0px 4px 6px #888;
}
.main-sub-header {
 background-color:rgba(0,0,0,.5); 
 padding-top:30px;
}
/*RSS Content Header Title Color=black*/
.rss-content-header-bg > li > a {
  color: black;
  font-size: 12px;
}
.bg-darkblue-to-blue {
  background:-webkit-linear-gradient(90deg, #002049,00529C);
  background:-moz-linear-gradient(90deg, #002049,00529C);
  background:-o-linear-gradient(90deg, #002049,00529C);
  background:-linear-gradient(90deg, #002049,00529C);
}
/*Outside is white & inside is gray*/
.content-bg-grey {
  background: -webkit-linear-gradient(90deg, #ffffff, #d1d1d1,#ffffff, #e1e1e1,#ffffff); /* For Safari 5.1 to 6.0 */
  background: -o-linear-gradient(90deg, #ffffff, #d1d1d1,#ffffff, #e1e1e1,#ffffff); /* For Opera 11.1 to 12.0 */
  background: -moz-linear-gradient(90deg,#ffffff, #d1d1d1,#ffffff, #d1d1d1,#ffffff); /* For Firefox 3.6 to 15 */
  background: linear-gradient(90deg, #ffffff, #d1d1d1,#ffffff, #d1d1d1,#ffffff); /* Standard syntax (must be last) */
  /*border-radius:1%;*/
  /*padding-top:20px;*/
  padding-bottom:20px;
}
/*Outside is gray inside is white*/
.content-bg-grey-reverse {
  background: -webkit-linear-gradient(90deg, #e1e1e1,#ffffff, #e1e1e1); /* For Safari 5.1 to 6.0 */
  background: -o-linear-gradient(90deg, #e1e1e1,#ffffff, #e1e1e1); /* For Opera 11.1 to 12.0 */
  background: -moz-linear-gradient(90deg,#e1e1e1,#ffffff, #e1e1e1); /* For Firefox 3.6 to 15 */
  background: linear-gradient(90deg, #e1e1e1,#ffffff, #e1e1e1); /* Standard syntax (must be last) */
  /*border-radius:1%;*/
  /*padding-top:20px;*/
  padding-bottom:20px;
}
.menu-text-bar {
  color:#dddddd;
  font-size:36;
}
.menu-text-lg {
  color:#555555;
  font-weight:700;
  font-size:13px;
}
.menu-text-sm {
  color:#777777 ;
  font-weight:700;
  font-size:11px;
}
/* ===================================
2. layout
==================================== */

.container {
	padding:0 20px 0 20px;
	position:relative;
}


#wrapper{
	width:100%;
	margin:0;	
	padding:0;
}

.inline-block {
  display: inline-block;
  /*margin: 1em;*/
}
.row,.row-fluid {
	margin-bottom:10px;
}

.row .row,.row-fluid .row-fluid{
	margin-bottom:10px;
}

.row.nomargin,.row-fluid.nomargin {
	margin-bottom:0;
}

#includeFooter {
  background-color: #ffffff;
}

/* ===================================
3. Responsive media
==================================== */
/*For 16:9, use 56.25% padding-bottom */
/*For 4:3, use 75% padding-bottom*/
.video-container,.map-container,.embed-container 		{ 
  position:relative; 
  /*margin:0 0 10px 0;	*/
  padding-bottom:56.25%; 
  padding-top:35px; 
  height:0; 
  overflow:hidden; 
  border:none; 
}
.embed-container iframe,
.embed-container object,
.embed-container embed,
.video-container iframe,
.map-container iframe,
.map-container object,
.map-container embed,
.video-container object,  
.video-container embed 					{
  position:absolute; 
  top:0; 
  left:0; 
  width:100%; 
  height:100%; 
}


/* Added to prevent some browsers from showing the box lines 
   seamless has to be included at the end of the opening iframe tag.*/
iframe[seamless] {
    background-color: transparent;
    border: 0px none transparent;
    padding: 0px;
    overflow: hidden;
}

img {
    display:table-cell;
    width:100%;
    height:auto;
}

img.img-polaroid {
	margin:0 0 20px 0;
}

.img-box {
	max-width:100%;
  height: auto;
}

/* ===================================
4. Header
==================================== */

/* --- header -- */
/*2nd line menu bar*/
#menu-bar {
  margin-bottom:15px;
  -webkit-box-shadow: 0 4px 8px rgba(38,63,109, .575);
  -moz-box-shadow: 0 4px 8px rgba(38,63,109, .575);
  -o-box-shadow: 0 4px 8px rgba(38,63,109, .575);
  box-shadow: 0 4px 8px rgba(38,63,109, .575);
} 

header .bar {
    margin-bottom: 0;
}

.navbar-default {
    border: none;
}

.navbar-brand {
  float:left;
  color: #FAFAFA;
  font-size: 14px;
  font-weight: 700;
  line-height: 1em;
  letter-spacing: 0px;
  margin-top: 4px;
  padding: 0 0 0 15px;
}
.navbar-brand-text:hover {
  color: #68A4C4;
}    
.top-right-menu {
  margin-top:-.7%;
  /*vertical-align: middle;*/
}
.top-right-menu-item {
  font-size: 12px;
  color: #f5f5f5;
  font-weight:400;
  margin-right:0;
}
.top-right-menu-item:hover {
  color: #68A4C4;
}

header .navbar-collapse  ul.navbar-nav {
    float: right;
    margin-right: 0;
}

/*#fafafa;*/
header .navbar-default{
    background-color: #fafafa;
    margin-bottom:0;
}

header .nav li a:hover,
header .nav li a:focus,
header .nav li.active a,
header .nav li.active a:hover,
header .nav li a.dropdown-toggle:hover,
header .nav li a.dropdown-toggle:focus,
header .nav li.active ul.dropdown-menu li a:hover,
header .nav li.active ul.dropdown-menu li.active a{
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}


header .navbar-default .navbar-nav > .open > a,
header .navbar-default .navbar-nav > .open > a:hover,
header .navbar-default .navbar-nav > .open > a:focus {
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}

header .navbar {
    min-height: 50px;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#1e5799+0,2989d8+50,7db9e8+88 */
}

header .navbar-nav > li  {
    padding-bottom: 10px;
    padding-top: 10px;
}

header  .navbar-nav > li > a {
    padding-bottom:5px;
    padding-top: 5px;
    margin-left: 2px;
    line-height: 20px;
  	font-weight: 700;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}


.dropdown-menu li a:hover {
    color: #fff !important;
    font-weight: 700;
}

header .nav .caret {
    border-bottom-color: #555555;
    border-top-color: #333333;
/*
    border-bottom-color: #f5f5f5;
    border-top-color: #f5f5f5;*/
}

 
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  background-color: #fafafa;
  line-height: 5px;
}

.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus {
  background-color: #fafafa;
}	
 
.navbar-default .navbar-nav > .open > li a,
.navbar-default .navbar-nav > .open > li a:hover,
.navbar-default .navbar-nav > .open > li a:focus {
  background-color:  #fafafa;
}  
.dropdown-menu  {
    box-shadow: none;
    border-radius: 0;
	  border: none;
}
 
.dropdown-menu li:last-child  {
	padding-bottom: 0 !important;
	margin-bottom: 0;
}


header .nav li .dropdown-menu  {
   padding: 0;
}

header .nav li .dropdown-menu li a {
   line-height: 24px;
   padding: 2px 12px;
   font-weight: 700;
}

/* --- menu --- */

header .navigation {
	float:right;
}

header ul.nav li {
	border:none;
	margin:0;
}

header ul.nav li a {	
	font-size:12px;
	border:none;
	font-weight:700;
	text-transform:uppercase;
}

header ul.nav li ul li a {	
	font-size:12px;
	border:none;
	font-weight:300;
	text-transform:uppercase;
}


/* #3b5998 facebook blue #f7f7f7 light grey*/
.navbar .nav > li > a {
  color: #263F6D;
  text-shadow: none;
  font-size:12px;
  padding-right:13px;
  padding-top: 10px;  
  padding-bottom:0px;
}

.navbar .nav a:hover {
	background:none;
}

.navbar .nav > .active > a,.navbar .nav > .active > a:hover {
	background:none;
	font-weight:700;
}

.navbar .nav > .active > a:active,.navbar .nav > .active > a:focus {
	background:none;
	outline:0;
	font-weight:700;
}

.navbar .nav li .dropdown-menu {
	z-index:2000;
}

header ul.nav li ul {
	margin-top:1px;
}
header ul.nav li ul li ul {
	margin:1px 0 0 1px;
}
.dropdown-menu .dropdown i {
	position:absolute;
	right:0;
	margin-top:3px;
	padding-left:3px;
}

.navbar .nav > li > .dropdown-menu:before {
  display: inline-block;
  border-right: none;
  border-bottom: none;
  border-left: none;
  border-bottom-color: none;
  content:none;
}



ul.nav li.dropdown a {
	z-index:1000;
	display:block;
}

 select.selectmenu {
	display:none;
}
/* ==============================
   COLOR/SHADOW/FONT FORMATTING
=================================*/
.textshadow-gray {
    text-shadow: 2px 2px #68A4C4;
}

span.small-cap {
    font-variant: small-caps;
}
.text-vintage-lg {
  text-shadow: 5px 5px 0px #eee, 7px 7px 0px #707070;
}
.text-vintage{
  text-shadow: 3px 3px 0px #eee, 5px 5px 5px #707070;
}
.text-neon {
  text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff, 0 0 40px #ff00de, 0 0 70px #ff00de, 0 0 80px #ff00de, 0 0 100px #ff00de, 0 0 150px #ff00de;
}
/*Inset works when letter is dark and the outside color is darker than #666*/
.text-inset {
  color:black; 
  text-shadow: 0px 2px 3px #666;
}
.text-fire {
  text-shadow: 0 0 20px #fefcc9, 10px -10px 30px #feec85, -20px -20px 40px #ffae34, 20px -40px 50px #ec760c, -20px -60px 60px #cd4606, 0 -80px 70px #973716, 10px -90px 80px #451b0e
}
.text-boardgame {
  text-shadow: 10px 10px 0 #ffd217, 20px 20px 0 #5ac7ff, 30px 30px 0 #ffd217, 40px 40px 0 #5ac7ff;
}
.fontwhite {
  color: #FFFFFF;
}
.fontwhite:hover {
  color: #DBDFEA;
}

.color-lightgray {
  color: lightgray;
}
.color-darkgray {
  color: #666666;
}
.color-mediumgray {
  color:#bbbbbb;
}
.color-hover {
  color:#68A4C4;
}
.color-red {
  color: #C30101;
}
.color-darkblue {
  color: #3B5998;
}
.font12 {
  font-size: 12px;
}
.font14 {
  font-size: 14px;
}
.font18 {
  font-size: 18px;
}
.font24 {
  font-size: 24px;
}
@gradient-lightgray {
    height: 100px;
    background: -webkit-linear-gradient(90deg, #ffffff, #d1d1d1,#ffffff); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(90deg, #ffffff, #d1d1d1,,#ffffff); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(90deg,#ffffff,#d1d1d1,#ffffff); /* For Firefox 3.6 to 15 */
    background: linear-gradient(90deg, #ffffff,#d1d1d1,#ffffff); /* Standard syntax (must be last) */
  }
@gradient-blue-15 {
  height: 15px;
  background: -webkit-linear-gradient(rgba(59,89,152,.5), rgba(59,89,152,.3), rgba(59,89,152,.1), rgba(255,255,255,0)); /* For Safari 5.1 to 6.0 */
  background: -o-linear-gradient(rgba(59,89,152,.5),  rgba(59,89,152,.3), rgba(59,89,152,.1), rgba(255,255,255,0));/* For Opera 11.1 to 12.0 */
  background: -moz-linear-gradient(rgba(59,89,152,.5),  rgba(59,89,152,.3), rgba(59,89,152,.1), rgba(255,255,255,0)); /* For Firefox 3.6 to 15 */
  background: linear-gradient(rgba(59,89,152,.5), rgba(59,89,152,.3),  rgba(59,89,152,.1), rgba(255,255,255,0)); /* Standard syntax */
}
@gradient-gray-100 {
  background: -webkit-linear-gradient(rgba(234,234,234,1), rgba(255,255,255,0)); /* For Safari 5.1 to 6.0 */
  background: -o-linear-gradient(rgba(234,234,234,1),  rgba(255,255,255,0));/* For Opera 11.1 to 12.0 */
  background: -moz-linear-gradient(rgba(234,234,234,1),rgba(255,255,255,0)); /* For Firefox 3.6 to 15 */
  background: linear-gradient(rgba(234,234,234,1),rgba(255,255,255,0)); /* Standard syntax */
}
/* ===================================
5. Section: Featured
==================================== */

#featured{
	width: 100%;
	position:relative;
	margin-bottom: 0px;
  margin-top:0px;
	padding:0px;
}

/* ===================================
6. Sliders
==================================== */
/* --- flexslider --- */

#featured .flexslider {
	padding:0;
	margin: 00;
	background-color: #fff; 
	position: relative; 
	zoom: 1;
}

.flex-caption { background:none; -ms-filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C000000,endColorstr=#4C000000); filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C000000,endColorstr=#4C000000); zoom: 1;}
.flex-caption { position: absolute; top:0; right: 0; width: 19%; height: 100%; overflow: hidden; 
                background-color: rgba(0, 0, 0, 0.5); 
                margin: 0 auto; padding: 2% 2% 0% 3%;}
.flex-caption h3 {color: #fff;letter-spacing: 1px; margin-bottom: 0; text-transform: uppercase;}
.flex-caption p  {color: #ddd;margin: 0 0 1%;}

/*For ipad-mini device or smaller*/
.flex-caption-small h3 {font-size:12px}
.flex-caption-small p  {font-size:10px;}
"
/* ===================================
7. Section: call action
==================================== */
section.callaction {
	background:#f9f9f9;
	padding:10px 0 0 0;
}


/* ===================================
8. Section: Content
==================================== */

#content {
	position:relative;
	background:#eee;
	padding-top:20px;
}

#content img {
	max-width:100%;
	height:auto;
}

.mainpage-content {
  background-color:#ffffff;
}


/* --- Call to action --- */
.cta-text {
	text-align: center;
	margin-top:10px;
}

li .hoverwhite i:hover {
  color: white;
}
.big-cta .cta {
	margin-top:10px;
}

/* --- box --- */
.box {
	width: 100%;
  height: auto;
}

.box-blue  {
  background: blue;
  padding: 10px 10px 10px;
}

.box-light-gray {
  background: #DCDCDC;
  padding: 10px 10px 10px;   
}
.box-iframe {
    width:100%;
    height:auto;
    background-color: transparent;
    border: 0px none transparent;
    padding: 0px;
    overflow: hidden;
}

.video-container {
    width:55%;
    padding: 1px;
}
.box-gray  {
	background: #f1f1f1;
	padding: 5px 5px 5px;
  text-align: center;
}

.box-gray  h4,.box-gray  i {
	margin-bottom: 10px;
}

.box-top {
  padding: 0;
  margin: 0;
  height: 25px;
  font-size: 10px;
  text-align: center;
  vertical-align:middle;
  background-color: #3B5998;
}
.box-top a {
  color: #fafafa;
  font-weight: 700;
}

.box-top a:hover {
  color: #f8f8f8;
  text-decoration: none;
}

.box-bottom {
	padding: 10px 0;
	text-align: center;
}
.box-bottom a {
	color: #fff;
	font-weight: 700;
}

.box-bottom a:hover {
	color: #f8f8f8;
	text-decoration: none;
}

/* ===================================
9. Section: Bottom
==================================== */
#mou-section {
/*  background: -webkit-linear-gradient(left,rgba(139,139,139,1),  rgba(139,139,139,0),rgba(139,139,139,1)); 
  background: -o-linear-gradient(left,rgba(139,139,139,1),  rgba(139,139,139,0),rgba(139,139,139,1)); 
  background: -moz-linear-gradient(left,rgba(139,139,139,1),rgba(139,139,139,0),rgba(139,139,139,1)); 
  background: linear-gradient(left,rgba(139,139,139,1),     rgba(139,139,139,0),rgba(139,139,139,1)); 
*/

  /*background: -moz-linear-gradient(180deg,#ffffff,#d1d1d1,#ffffff);*/
  /*background: -moz-linear-gradient(180deg,#ffffff,#cccccc);*/
  background: -webkit-linear-gradient(90deg,#cacaca,#ffffff,#cacaca);
  background: -moz-linear-gradient(90deg,#cacaca,#ffffff,#cacaca);
  background: -o-linear-gradient(90deg,#cacaca,#ffffff,#cacaca);
  background: linear-gradient(90deg,#cacaca,#ffffff,#cacaca);
  /*background:#DBDFEA;*/
  padding-top:80px;
  padding-bottom:80px;
  font-size: 3em;
  font-weight:700;
  margin-top:0;
}
/*twitter */
#twitter-wrapper {
    text-align: center;
    width: 70%;
    margin: 0 auto;
}
#twitter em {
    font-style: normal;
    font-size: 13px;
}

#twitter em.twitterTime a {
	font-weight:600;
}

#twitter ul {
    padding: 0;
	list-style:none;
}
#twitter ul li {
    font-size: 20px;
    line-height: 1.6em;
    font-weight: 300;
    margin-bottom: 20px;
    position: relative;
    word-break: break-word;
}


/* ===================================
10. Inner - Section: page headline
==================================== */

#inner-headline{
	background:#252525;
	position:relative;
	margin:0;
	padding:0;
	color:#fefefe;
}


#inner-headline .inner-heading h2 {
	color:#fff;
	margin:20px 0 0 0;
}

/* --- breadcrumbs --- */
#inner-headline ul.breadcrumb {
	margin:30px 0 0;
	float:left;
}

#inner-headline ul.breadcrumb li {
	margin-bottom:0;
	padding-bottom:0;
}
#inner-headline ul.breadcrumb li {
	font-size:13px;
	color:#fff;
}

#inner-headline ul.breadcrumb li i{
	color:#dedede;
}

#inner-headline ul.breadcrumb li a {
	color:#fff;
}

ul.breadcrumb li a:hover {
	text-decoration:none;
}

/* ============================
11. Forms
============================= */

/* --- contact form  ---- */
form#contactform input[type="text"] {
  width: 100%;
  border: 1px solid #888888;
  min-height: 40px;
  padding-left:20px;
  font-size:13px;
  padding-right:20px;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;

}

form#contactform textarea {
border: 1px solid #888888;
  width: 100%;
  padding-left:20px;
  padding-top:10px;
  font-size:13px;
  padding-right:20px;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

form#contactform .validation {
	font-size:11px;
}

#sendmessage {
	border:1px solid #e6e6e6;
	background:#f6f6f6;
	display:none;
	text-align:center;
	padding:15px 12px 15px 65px;
	margin:10px 0;
	font-weight:600;
	margin-bottom:30px;

}

#sendmessage.show,.show  {
	display:block;
}

/* --- comment form ---- */
form#commentform input[type="text"] {
  width: 100%;
  min-height: 40px;
  padding-left:20px;
  font-size:13px;
  padding-right:20px;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
	-webkit-border-radius: 2px 2px 2px 2px;
		-moz-border-radius: 2px 2px 2px 2px;
			border-radius: 2px 2px 2px 2px;
}

form#commentform textarea {
  width: 100%;
  padding-left:20px;
  padding-top:10px;
  font-size:13px;
  padding-right:20px;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
	-webkit-border-radius: 2px 2px 2px 2px;
		-moz-border-radius: 2px 2px 2px 2px;
			border-radius: 2px 2px 2px 2px;
}


/* --- search form --- */
.search{
	float:right;
	margin:35px 0 0;
	padding-bottom:0;
}

#inner-headline form.input-append {
	margin:0;
	padding:0;
}


/* ===============================
12. Portfolio
================================ */

.work-nav #filters {
	margin: 0;
	padding: 0;
	list-style: none;
}

.work-nav #filters li {
	margin: 0 10px 30px 0;
	padding: 0;
	float:left;
}

.work-nav #filters li a {
	color: #7F8289;
	font-size: 16px;
	display: block;	
}

.work-nav #filters li a:hover {

}

.work-nav #filters li a.selected {
	color: #DE5E60;
}

#thumbs {
	margin: 0;
	padding: 0;	
}

#thumbs li {
	list-style-type: none;
}

.item-thumbs {
	position: relative;
	overflow: hidden;
	margin-bottom: 30px;
	cursor: pointer;
}

.item-thumbs a + img {
	width: 100%;	
}

.item-thumbs .hover-wrap {
	position: absolute;
	display: block;
	width: 100%;
	height: 100%;
	
	opacity: 0;
	filter: alpha(opacity=0);
	
	-webkit-transition: all 450ms ease-out 0s;	
	   -moz-transition: all 450ms ease-out 0s;
		 -o-transition: all 450ms ease-out 0s;
		    transition: all 450ms ease-out 0s;
		  
	-webkit-transform: rotateY(180deg) scale(0.5,0.5);
	   -moz-transform: rotateY(180deg) scale(0.5,0.5);
		-ms-transform: rotateY(180deg) scale(0.5,0.5);
		 -o-transform: rotateY(180deg) scale(0.5,0.5);
			transform: rotateY(180deg) scale(0.5,0.5);	
}

.item-thumbs:hover .hover-wrap,
.item-thumbs.active .hover-wrap {
	opacity: 1;
	filter: alpha(opacity=100);
	
	-webkit-transform: rotateY(0deg) scale(1,1);
	   -moz-transform: rotateY(0deg) scale(1,1);
		-ms-transform: rotateY(0deg) scale(1,1);
		 -o-transform: rotateY(0deg) scale(1,1);
		    transform: rotateY(0deg) scale(1,1);
}

.item-thumbs .hover-wrap .overlay-img {
	position: absolute;
	width: 50%;
	height: 100%;
	opacity: 0.80;
	filter: alpha(opacity=80);
	background: #000;
}

.item-thumbs .hover-wrap .overlay-img-thumb {
	position: absolute;
	border-radius: 60px;
	top: 50%;
	left: 50%;
	margin: -16px 0 0 -16px;
	color: #fff;
	font-size: 32px;
	line-height: 1em;	
	opacity: 1;
	filter: alpha(opacity=100);
}

.cta-text h2:hover {
    color: grey;
    text-decoration: none;
}
/* --- Portolio filter --- */

ul.portfolio-categ{
	margin:10px 0 30px 0;
	padding:0;
	float:left;
	list-style:none;
}

ul.portfolio-categ li{
	margin:0;
	padding:0 20px 0 0;
	float:left;
	list-style:none;
	font-size:13px;
	font-weight:600;
}

ul.portfolio-categ li a{
	display:block;
	padding:35x 0 35x 0;
	color:#353535;
}

ul.portfolio-categ li.active a:hover, ul.portfolio-categ li a:hover,ul.portfolio-categ li a:focus,ul.portfolio-categ li a:active {
	text-decoration:none;
	outline:0;
}
    


/* --- portfolio detail --- */
.top-wrapper {
	margin-bottom:20px;
}

/* ===============================
13. Elements
================================ */

.ad img {
  width:180px;
  margin-right:42px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, .375);
}

#about-page {
  background-image: url("../img/about.jpg");
  background-size:cover;
  background-repeat: no-repeat;
  height:600px;
}
.about-desc {
  position:absolute;
  bottom:15%;
  right:0;
  width:50%;
  left:25%;
  height:60%;
  padding:3%;
  background-color: rgba(0, 0, 0, 0.9); 
  font-color: white; 
}
#company-info {
  background-image: url("../img/company-background.jpg");
  background-size:cover;
  background-repeat: no-repeat;
  width:100%;height:700px;
}
.company-info-desc {
  margin-top:10%;
  font-style:normal;
}

.president-photo {
  max-width:250px;
  min-width:100px;
}

/* --- blockquote --- */
blockquote {  
  font-size:16px;
	font-weight:400;
	font-family:'Open Serif', Arial, sans-serif;
	font-style:italic;
	padding-left:0;
	/*color:#a2a2a2;*/
  color:#777777;
	line-height:1.6em;
	border:none;
}

blockquote cite 							{ display:block; font-size:12px; color:#666; margin-top:10px; }
blockquote cite:before 					{ content:"\2014 \0020"; }
blockquote cite a,
blockquote cite a:visited,
blockquote cite a:visited 				{ color:#555; }

/* --- pullquotes --- */

.pullquote-left {
	display:block;
	color:#a2a2a2;
	font-family:'Noto Serif', serif;
	font-size:14px;
	line-height:1.6em;
	padding-left:20px;
}

.pullquote-right {
	display:block;
	color:#a2a2a2;
	font-family:'Noto Serif', serif;
	font-size:14px;
	line-height:1.6em;
	padding-right:20px;
}

/* --- button --- */
.btn-theme {
	color: #fff;
}
.btn-theme:hover {
	color: #eee;
}
.btn-theme {
  max-width: auto;
  margin-top:.5em;
}

/* --- list style --- */

ul.general {
	list-style:none;
	margin-left:0;
}

ul.link-list{
	margin:0;
	padding:0;
	list-style:none;
}

ul.link-list li{
	margin:0;
	padding:2px 0 2px 0;
	list-style:none;
}

footer ul.link-list li a{
	color:#fff;
}
footer ul.link-list li a:hover {
	color:#eee;
}
/* --- Heading style --- */

h4.heading {
	font-weight:700;
}

.heading { margin-bottom: 30px; }

.heading {
	position: relative;
	
}

.widgetheading {
	width:100%;
	padding:0;
}

/*#bottom {
  background: -webkit-linear-gradient(rgba(105,105,105,1), rgba(105,105,105,.4)); 
  background: -o-linear-gradient(rgba(105,105,105,1),  rgba(105,105,105,.4)); 
  background: -moz-linear-gradient(rgba(105,105,105,1),rgba(105,105,105,.4)); 
  background: linear-gradient(rgba(105,105,105,1),     rgba(105,105,105,.4)); 
}*/

#bottom .widgetheading {
	position: relative;
	border-bottom: #e6e6e6 1px solid;
	padding-bottom: 9px;
}

aside .widgetheading {
	position: relative;
	border-bottom: #e9e9e9 1px solid;
	padding-bottom: 9px;
}


footer .widgetheading {
	position: relative;
}

footer .widget .social-network {
	position:relative;
}


#bottom .widget .widgetheading span, aside .widget .widgetheading span, footer .widget .widgetheading span {	
	position: absolute;
	width: 60px;
	height: 1px;
	bottom: -1px;
	right:0;

}

/* --- Map --- */
.map{
	position:relative;
	margin-top:-50px;
	margin-bottom:40px;
}

.map iframe{
	width:100%;
	height:auto;
	border:none;
}

.map-grid iframe{
	width:100%;
	height:auto;
	border:none;
	margin:0 -5px 0;
	padding:0;
}

/* --- our team --- */

ul.team-detail{
	margin:-10px 0 0 0;
	padding:0;
	list-style:none;
}

ul.team-detail li{
	border-bottom:1px dotted #e9e9e9;
	margin:0 0 15px 0;
	padding:0 0 15px 0;
	list-style:none;
}

ul.team-detail li label {
	font-size:13px;
}

ul.team-detail li h4, ul.team-detail li label{
	margin-bottom:0;
}

ul.team-detail li ul.social-network {
	border:none;
	margin:0;
	padding:0;
}

ul.team-detail li ul.social-network li {
	border:none;	
	margin:0;
}
ul.team-detail li ul.social-network li i {
	margin:0;
}

/* --- Pricing box --- */
.pricing-title{
	background:#fff;
	text-align:center;
	padding:10px 0 10px 0;
}

.pricing-title h3{
	font-weight:600;
	margin-bottom:1px;
}

.pricing-offer{
	background: #fcfcfc;
	text-align: center;
	padding:40px 0 40px 0;
	font-size:18px;
	border-top:1px solid #e6e6e6;
	border-bottom:1px solid #e6e6e6;
}

.pricing-box.special .pricing-offer{
	color:#fff;
}

.pricing-offer strong{
	font-size:78px;
	line-height:89px;
}

.pricing-offer sup{
	font-size:28px;
}

.pricing-content{
	background: #fff;
	text-align:center;
	font-size:14px;
}

.pricing-content strong{
color:#353535;
}

.pricing-content ul{
	list-style:none;
	padding:0;
	margin:0;
}

.pricing-content ul li{
	border-bottom:1px solid #e9e9e9;
	list-style:none;
	padding:15px 0 15px 0;
	margin:0 0 0 0;
	color: #888;
}

.pricing-action{
	margin:0;
	background: #fcfcfc;
	text-align:center;
	padding:20px 0 30px 0;
}

.pricing-wrapp{
	margin:0 auto;
	width:100%;
	background:#fd0000;
}

/* --- pricing box alt 1 --- */
.pricing-box-alt {
border: 1px solid #e6e6e6;
	background:#fcfcfc;
	position:relative;
	margin:0 0 20px 0;
	padding:0;
  -webkit-box-shadow: 0 2px 0 rgba(0,0,0,0.03);
  -moz-box-shadow: 0 2px 0 rgba(0,0,0,0.03);
  box-shadow: 0 2px 0 rgba(0,0,0,0.03);
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.pricing-box-alt .pricing-heading {
	background: #fcfcfc;
	text-align: center;
	padding:40px 0 0px 0;
	display:block;
}
.pricing-box-alt.special .pricing-heading {
	background: #fcfcfc;
	text-align: center;
	padding:40px 0 1px 0;
	border-bottom:none;
	display:block;
	color:#fff;
}
.pricing-box-alt.special .pricing-heading h3 {
	color:#fff;
}

.pricing-box-alt .pricing-heading h3 strong {
	font-size:32px;
	font-weight:700;
	letter-spacing:-1px;
}
.pricing-box-alt .pricing-heading h3 {
	font-size:32px;
	font-weight:300;
	letter-spacing:-1px;
}

.pricing-box-alt .pricing-terms {
	text-align: center;
	background:#333;
	display:block;
	overflow:hidden;
	padding:30px 0 20px;
}

.pricing-box-alt .pricing-terms  h6 {
	font-style:italic;
	margin-top:10px;
	color:#fff;
	
	font-family:'Noto Serif', serif;
}

.pricing-box-alt .icon .price-circled {
    margin: 10px 10px 10px 0;
    display: inline-block !important;
    text-align: center !important;
    color: #fff;
    width: 68px;
    height: 68px;
	padding:12px;
    font-size: 16px;
	font-weight:700;
    line-height: 68px;
    text-shadow:none;
    cursor: pointer;
    background-color: #888;
    border-radius: 64px;
    -moz-border-radius: 64px;
    -webkit-border-radius: 64px;
}

.pricing-box-alt  .pricing-action{
	margin:0;
	text-align:center;
	padding:30px 0 30px 0;
}

/* ===============================
14. Blog & article
================================ */

article{
	margin-bottom:40px;
}

article .post-heading h3 {
	margin-bottom:20px;
}

article .post-heading h3 a {
	font-weight:700;
	color:#353535;
}

article .post-heading h3 a:hover {
	text-decoration:none;
}

/* --- post meta --- */
.post-meta {
	background:#fcfcfc;
	border:1px solid #e6e6e6;
	border-top:none;
	text-align:center;
}

.post-meta .format {
	border-bottom:1px solid #e6e6e6;
	padding:10px 0 10px;
}

.post-meta i{
	margin:0;
}

.post-meta .date {
	border-bottom:1px solid #e6e6e6;
	padding:10px 0 10px;
}

.post-meta .date span {
	text-align:center;
	color:#999;
	font-size:12px;
	font-weight:600;
}

.post-meta .comments {
	padding:10px 0 10px;
}

.post-meta .comments a {
	color:#999;
	font-size:12px;
	font-weight:700;
}

.post-meta .comments a:hover {
	text-decoration:none;
}

/* --- post format --- */

.post-image {
	margin-bottom:20px;
}

.post-quote {
	margin-bottom:20px;
}

.post-video {
	margin-bottom:20px;
}

.post-audio {
	margin-bottom:20px;
}

.post-link {
	margin-bottom:20px;
}

.post-slider {
	margin-bottom:20px;
}


.post-quote blockquote {
	font-size:16px;
	color:#999;
	font-family:'Noto Serif', serif;
	font-style:italic;
	line-height:1.6em;
}


.post-image img:hover {
  -webkit-box-shadow: 0 0 2px #979797;
     -moz-box-shadow: 0 0 2px #979797;
          box-shadow: 0 0 2px #979797;	
  -webkit-transition: all 1s ease-in-out;
  -moz-transition: all 1s ease-in-out;
  -o-transition: all 1s ease-in-out;
  transition: all 1s ease-in-out;
}

ul.meta-post{
	float:left;
	margin: 0;
	padding:0;
	list-style:none;
}

ul.meta-post li{
	float:left;
	margin:0 10px 0 0;
	padding:0;
	list-style:none;
	border-right:1px dotted #e9e9e9;
	padding-right:10px;
}

ul.meta-post li i {
	float:left;
	font-size:12px;
	margin:2px 5px 0 0;
}

ul.meta-post li a{
	color:#999;
	float:left;
	font-size:12px;
	font-weight:600;
}

/* --- single post --- */
.bottom-article{
	overflow: hidden;
	border-top:1px solid #f5f5f5;
	border-bottom:1px solid #f5f5f5;
	padding:10px 0 10px 0;
	margin-top:20px;
}

/* --- author info --- */

.about-author {
	border:1px solid #f5f5f5;
	padding:20px;
	float:left;
	margin-bottom:5px;
}

.about-author h5 {
	margin-bottom:10px;
}



/* --- Comment --- */

.comment-area {
	float:left;
	width:100%;
	margin-top:30px;	
}


.media-content{
	overflow:hidden;
	margin-left:12px;
	border-bottom:1px dotted #d5d5d5;
	padding-bottom:20px;
}

.media-content h6 {
	font-size:14px;
	font-weight:700;
}

.media-content span{
	color:#a9a9a9;
	font-size:14px;
	font-weight:300;
}

.comment-area .thumbnail > img {
  display: block;
	width:60px;
	height:60px;
}
.filter-list{
	margin-top:20px;
}

/* --- pagination --- */

#pagination a,
#pagination span {
    display: block;
    float: left;
    margin: 0 7px 0 0;
    padding: 7px 10px 6px 10px;
    font-size: 12px;
    line-height:12px;
    color: #888;
	font-weight:600;
}

#pagination a:hover {
    color: #fff;
	text-decoration:none;
}

#pagination span.current {
    background: #333;
    color: #fff;
    font-weight: bold;
}


/* ===============================
15. Aside, sidebar
================================ */

aside{
	position:relative;
	margin-bottom:40px;
}

.sidebar-nav{
	float:left;
	width:100%;
}

.right-sidebar{
	border-left:1px solid #f5f5f5;
	padding:0 0 0 30px;
-webkit-box-shadow:inset 1px 0 0 0 rgba(0,0,0,.01);
box-shadow:inset 1px 0 0 0 rgba(0,0,0,.01);

}


.left-sidebar{
	border-right:1px solid #f5f5f5;
	padding:0 30px 0 0;
-webkit-box-shadow:inset 1px 0 0 0 rgba(0,0,0,.01);
box-shadow:inset 1px 0 0 0 rgba(0,0,0,.01);
}


.left-sidebar .widget h3, .left-sidebar .widget .widget-content{
	padding-right:20px;
}



aside .widget {
	margin-bottom:40px;
}


ul.cat, ul.recent, ul.folio-detail, ul.contact-info{
	margin:0;
	padding:0;
	list-style:none;
}

ul.cat li, ul.recent li, ul.folio-detail li, ul.contact-info li{
	margin:0 0 15px 0;
	list-style:none;
}

ul.cat li a, ul.folio-detail li a{
	color:#656565;
}

ul.folio-detail li label{
	display:inline;
	cursor:default;
	color:#353535;
	font-weight:bold;
}

.widget ul.recent li {
	margin-bottom:20px;
}

ul.recent li h6 {
	margin:0 0 10px 0;
}

ul.recent li h6 a{
	color:#353535;
	font-size:16px;
	font-weight:600;
}


.widget ul.tags {
	list-style:none;
	margin:0;
	margin-left: 0;
	padding-left:0;
}

.widget ul.tags li {
	margin:0 5px 15px 0;
	display:inline-block;
}


.widget ul.tags li a {
	background:#e6e6e6;
	color:#333;
	padding:5px 10px;
}

.widget ul.tags li a:hover {
	text-decoration:none;
	color:#fff;
}

/* ===== Widgets ===== */

/* --- flickr --- */
.widget .flickr_badge {
	width:100%;
}
.widget .flickr_badge img { margin: 0 9px 20px 0; }

footer .widget .flickr_badge {
    width: 100%;
}
footer .widget .flickr_badge img {
    margin: 0 9px 20px 0;
}

.flickr_badge img {
    width: 50px;
    height: 50px;
    float: left;
	margin: 0 9px 20px 0;
}

/* --- latest tweet widget --- */

.twitter ul{
	margin-left:0;
	list-style:none;
}

.twitter  img{
    float: left;
    margin-right: 15px;
}
.twitter span.tweet_time{
    display: block;
    padding-bottom: 5px;

}
.twitter li{    
    border-bottom: 1px dashed #efefef;    
    padding-bottom: 20px;
    margin-bottom: 20px;
    list-style: none;
}
.twitter li:last-child{border: none;}

/* --- Recent post widget --- */

.recent-post{
	margin:20px 0 0 0;
	padding:0;
	line-height:18px;
}

.recent-post h5 a:hover {
	text-decoration:none;
}

.recent-post .text h5 a {
	color:#353535;
}


ul.time-post{
	float:left;
	width:120px;
	padding:0;
	list-style:none;
	margin:0 20px 0 0;
	text-align:center;
	color: #0e0f0f;
}

ul.time-post li{
	float:none;
	background:#f8f8f8;
	list-style:none;
	margin:0 0 2px 0;
	padding:0;
}

ul.time-post li a img:hover{
	opacity: 0.8; 
	/* For IE 5-7 */
	filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
	/* For IE 8 8 */
	-MS-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";	
}
 	
ul.time-post li.time{
	float:none;
	padding:5px 0 5px 0;
	text-shadow: none;	
}

.recent-post ul.time-post li.time{
	color:#121214;
}

.post-meta{
	margin-bottom:20px;
}

.post-meta span{
	padding:0 10px 0 10px;
	margin-bottom:10px;
}

.post-meta span a{
	color:#919191;
}

.post-meta strong{
	font-weight:200px;
	color:#c7c7c7;
}

.item .text {
	margin-left:140px;
	margin-bottom:20px;
}

/* ===============================
16. Footer
================================ */

footer{
	padding: 50px 0 0 0;
	color:#f8f8f8;
}

footer a {
	color:#fff;
}

footer a:hover {
	color:#eee;
}

footer h1, footer h2, footer h3, footer h4, footer h5, footer h6{
	color:#fff;
}

footer address {
	line-height:1.6em;
}

footer h5 a:hover, footer a:hover {
	text-decoration:none;
}

ul.social-network {
	list-style:none;
	margin:0;
}

ul.social-network li {
	display:inline;
	margin: 0 5px;
}

#sub-footer{
	text-shadow:none;
	color:#f5f5f5;
	padding:0;
	padding-top:30px;
	margin:20px 0 0 0;
}

#sub-footer p{
	margin:0;
	padding:0;
}

#sub-footer span{
	color:#f5f5f5;
}

.copyright {
	text-align:left;
	font-size:12px;
}

#sub-footer ul.social-network {
	float:right;
}


/* ===============================
 Live preview purpose
================================ */
/* --- buttons --- */

.bs-docs-example {
	margin:0 0 10px 0;
}

.demobtn a.btn {
	margin:0 10px 10px 0;
}

section.demogrid .col-lg-1,section.demogrid .col-lg-2,section.demogrid .col-lg-3,section.demogrid .col-lg-4,section.demogrid .col-lg-5,section.demogrid .col-lg-6,section.demogrid .col-lg-7,section.demogrid .col-lg-8,section.demogrid .col-lg-9,section.demogrid .col-lg-10,section.demogrid .col-lg-11 {
	background:#f6f6f6;
	text-align:center;
	padding:20px 0 20px;
}

section.demogrid .show-grid .row,section.demogrid .show-grid .row-fluid {
	margin-bottom:0;
}

section.demogrid .show-grid .nest {
	background:#ddd;
	text-align:center;
	padding:20px 0 20px;
}

section.demogrid .col-lg-12.nest {
	background:#f6f6f6;
	text-align:center;
	padding:20px 0 0;
}

.demoinline p {
	display:inline;
	margin-right:20px;
}


/* ===============================
17. Divider, Line & Misc
================================ */

.solidline {
	border-top:1px solid #f5f5f5;
	margin:0 0 30px;
}

.solidline2 {
  border-top:2px solid #f5f5f5;
  margin:10px 0 20px;
}
.solidline5 {
  border-top:5px solid #f5f5f5;
  margin:10px 0 20px;
}
.dottedline {
	border-top:1px dotted #f5f5f5;
	margin:0 0 30px;
}

.dashedline {
	border-top:1px dashed #f5f5f5;
	margin:0 0 30px;
}

.blankline {
	height:1px;
	margin:0 0 30px;
}


/* scroll to top */
.scrollup{
  position:fixed;
  width:32px;
  height:32px;
  bottom:0px;
  right:20px;
  background: #222;

}

a.scrollup {
	outline:0;
	text-align: center;
}

a.scrollup:hover,a.scrollup:active,a.scrollup:focus {
	opacity:1;
	text-decoration:none;
}
a.scrollup i {
	margin-top: 10px;
	color: #fff;
}
a.scrollup i:hover {
	text-decoration:none;
}

.paragraph-justify {
  text-align: justify;
}


/* =============================
18. Position & alignment
============================= */

.absolute{
	position:absolute;
}

.relative{
	position:relative;
}

.aligncenter{
	text-align:center;
}

.aligncenter span{
	margin-left:0;
}

.alignright {
  text-align:right;
}
.floatright {
	float:right;
}

.floatleft {
	float:left;
}

.floatnone {
	float:none;
}

.aligncenter {
	text-align:center;
}

/* --- Image allignment style --- */

img.pull-left, .align-left{
	float:left;
	margin:0 15px 15px 0;
}

.widget img.pull-left {
	float:left;
	margin:0 15px 15px 0;
}

img.pull-right, .align-right {
	float:right;
	margin:0 0 15px 15px;
}

article img.pull-left, article .align-left{
	float:left;
	margin:5px 15px 15px 0;
}

article img.pull-right, article .align-right{
	float:right;
	margin:5px 0 15px 15px;
}


/* =============================
20. Spacer, margin
============================= */

.clear-marginpadding {
  margin:0;
  padding:0;
}
.clear-marginpadding-topbot{
  padding-bottom:0;
  padding-top:0;
  margin-top:0;
  margin-bottom:0;
}

.clear-marginpadding-leftright {
  margin-left:0;
  margin-right:0;
  padding-left:0;
  padding-right:0;
}
.clear-margintopbot {
  margin-top:0;
  margin-bottom:0;
}
.clear-marginleftright {
  margin-left:0;
  margin-right:0;
}
.clear-marginleft {
  margin-left:0;
}
.clear-marginright {
  margin-left:0;
}
.clear-marginbot{
	margin-bottom:0;
}
.clear-margintop{
  margin-top:0;
}

.clear-paddingtopbot{
  padding-top:0;
  padding-bottom:0;
}

.margin5 {
  margin:5px;
}
.margin20 {
  margin:20px;
}
.margin30 {
  margin:30px;
}
.margin40 {
  margin:40px;
}
.margin50 {
  margin:50px;
}

.marginbot5 {
  margin-bottom:5px;
}
.marginbot10{
	margin-bottom:10px;
}
.marginbot20{
	margin-bottom:20px;
}
.marginbot30{
	margin-bottom:30px;
}
.marginbot40{
	margin-bottom:40px;
}
.margintop5{
  margin-top:5px;
}
.margintop10{
  margin-top:10px;
}
.margintop15{
  margin-top:15px;
}

.margintop20{
  margin-top:20px;
}
.margintop30{
  margin-top:30px;
}
.margintop40{
  margin-top:40px;
}
.margintop50{
  margin-top:50px;
}
.margin-right5 {
  margin-right:5px;
}
.marginright20 {
  margin-right:20px;
}
.marginleft5 {
  margin-left:5px;
}
.marginleft15 {
  margin-left:15px;
}
.marginleft20 {
  margin-left:20px;
}
.marginleft30 {
  margin-left:30px;
}
.marginleft50 {
  margin-left:50px;
}
.marginleft5em{
  margin-left:5em;
}

.marginleftright15{
  margin-left:15px;
  margin-right:15px;
}
.marginleftright20{
  margin-left:20px;
  margin-right:20px;
}
.marginleftright25{
  margin-left:25px;
  margin-right:25px;
}
.marginleftright30{
  margin-left:30px;
  margin-right:30px;
}
.marginleftright95{
  margin-left:95px;
  margin-right:95px;
}
.padding20 {
  padding:20px;
}
.padding30 {
  padding:30px;
}

.paddingtopbot20 {
  padding-top:20px;
  padding-bottom:20px;
}
.paddingbot10 {
  padding-bottom:10px;
}
.paddingbot20 {
  padding-bottom:20px;
}
.paddingbot30 {
  padding-bottom:20px;
}
.paddingtop20 {
  padding-top:20px;
}
.paddingtop5 {
  padding-top:5px;
}
.paddingtop10 {
  padding-top:10px;
}
.paddingtop15 {
  padding-top:15px;
}
.paddingtop30 {
  padding-top:30px;
}
.paddingtop40 {
  padding-top:40px;
}

/* =============================
21. Media queries 
============================= */
/************************************
col-lg, columns will stack when width < 1200px
        columns will become horizontal when width >= 1200px.
col-md, columns will stack when width < 992px
        columns will become horizontal when width >= 992px.
col-sm, columns will stack when width < 768px
        columns will become horizontal when width >= 768px
hidden-sm will hide for ipad mini size or smaller  

11" Mac book air  (lg)  1366x768 (native), 1344x756, 
  1280x720 pixels at 16:9 aspect ratio; 
  1152x720 & 1024x640 pixels at 16:10 aspect ratio; 
  1024x768 & 800x600 pixels at 4:3 aspect ratio      
13" Mac book air  (lg)  1440x900 (native), 
  1280x800, 1152x720, 
  1024x640 pixels at 16:10 aspect ratio 
  1024x768 and 800 by 600 pixels at 4:3 aspect ratio
15" laptop/desktop LCD monitor, usually 1024x768, (md)
  15.4 inch 1280x800 monitors, 
  15.6 inch 1366x768 monitors, 
  laptop 15.4 inch screens-1440x900, 1680x1050, or 2880x1800. 
17" to 19" CRT monitor  1280 × 1024  (lg)
20" and larger CRT monitor  1600 × 1200 (lg)

Brand   Model   Screen Resolution
  Macbook Air 1440
Apple Ipad  768 x 1024
  Ipad 2    768 x 1024
  Ipad 3    1536 x 2048
  Ipad 4    1536 x 2048
  iPad Mini 768 x 1024  (sm)
  iPhone    320 x 480   (xs)
  iPhone 4  640 x 960   (sm)
  iPhone 4S 640 x 960
  iPhone 5  640 x 1136
  iPhone 5S 640 x 1136
  iPhone 6  750 x 1334  (sm)
  iPhone 6 Plus 1080 x 1920  (md)
  iPod Touch  320 x 480
  Galaxy Mini 240 x 320
  Galaxy Nexus  720 x 1280
  Galaxy Note (N7000) 800 x 1280
  Galaxy Note 2 720 x 1280
  Galaxy Note 3 1080 x 1920
  Galaxy Note 4 1440 x 2560
  Galaxy Note 5 1440 x 2560
  Galaxy S  480 x 800
  Galaxy S II 480 x 800
  Galaxy S III / Galaxy S3 (I9300)  720 x 1280  (sm)
  Galaxy S III Mini / Galaxy S3 Mini (I8190)  480 x 800
  Galaxy S4 (I9295) 1080 x 1920
  Galaxy S4 (I9500) 1080 x 1920
  Galaxy S4 Mini (I9190)  540 x 960
  Galaxy S4 Zoom  540 x 960
  Galaxy S5 1080 x 1920
  Galaxy S6 1440 x 2560
*************************************/

/* Device size = lg: Mac book air 13" = 1440x900*/
@media (max-width: 1200px) { 

}

/* Device size = md:; iphone 6 plus or larger*/
@media (min-width: 992px) and (max-width: 1200px) {

  .flex-caption {
    width: 21%;
    padding: 0 2% 0 3%;
  }
   .ad img {
    max-width:150px;
    margin-right:1.7em;
  }
  .navbar .nav > li > a {
    font-size:12px;
    padding-right:7px;
    padding-left:7px;
    padding-top:5px;
    padding-bottom:3px;
  }

}

@media (min-width: 768px) and (max-width: 991px) {
  .iframe-live {
    height:350px;
  }
  .ad img {
    max-width:120px;
    margin-right:.8em;
  }
  a.detail{
    background:none;
    width:100%;
  }
  
  footer .widget form  input#appendedInputButton {
      display: block;
      width: 91%;
      -webkit-border-radius: 4px 4px 4px 4px;
       -moz-border-radius: 4px 4px 4px 4px;
          border-radius: 4px 4px 4px 4px;
  }
  
  footer .widget form  .input-append .btn {
      display: block;
      width: 100%;
      padding-right: 0;
      padding-left: 0;
      -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
          box-sizing: border-box;
          margin-top:10px;
  }

}
/* =============================
21. Media queries - sm (ipad Air and ipad Mini width=768 ) ipad pro=1024  samsung galaxy tab=800
    Smaller than MAC book
============================= */
/*iPad Mini*/
@media (max-width: 768px) {
  .nav-justified > li {
    display: table-cell;
    width: 1%;
  }
  .nav-justified > li > a  {
    border-bottom: 1px solid #ddd !important;
    border-radius: 4px 4px 0 0 !important;
    margin-bottom: 0 !important;
  }
  .navbar .nav > li > a {
    font-size:12px;
    padding-right:0px;
    padding-left:10px;
    padding-top:5px;
    padding-bottom:3px;
  }

  ul.related-folio li{
    width:156px;
    margin:0 20px 0 0;
  } 

  .company-info-desc {
    font-size:14px;
  }

  .flex-caption {
    width:22%;
  }

}


/* xs : most phones; Collapse menu appears
-----------------------------------------*/
@media (max-width: 767px) {
  .iframe-live {
    height:350px;
  }
  .ad img {
    width: 110px;
  }
  body {
    padding-right: 0;
    padding-left: 0;
  }
	.bar-header {
		margin-top: 0px;
		border-bottom: none;
	}
	
	.navbar-nav {
		border-top: none;
		float: none;
		width: 100%;
	}

  /* 10/2/2015 Top most menu*/  
  .navbar-top {
    padding-bottom: 0;
    padding-top: 0;
    margin-top: 0;
    margin-bottom: 0;
  }
	header .navbar-nav > li  {
		padding-bottom: 0;
		padding-top: 0;
	}
	
	header .nav li .dropdown-menu  {
		margin-top: 0;
	}

	.dropdown-menu {
	  position: absolute;
	  top: 0;
	  left: 40px;
	  z-index: 1000;
	  display: none;
	  float: left;
	  min-width: 160px;
	  padding: 5px 0;
	  margin: 2px 0 0;
	  font-size: 13px;
	  list-style: none;
	  background-color: #fff;
	  background-clip: padding-box;
	  border: 1px solid #f5f5f5;
	  border: 1px solid rgba(0, 0, 0, .15);
	  border-radius: 10px;
	  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
			  box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
	}

	.navbar-collapse.collapse  {
		border: none;
    margin-top:0;
    padding-top:0;
    margin-bottom:0;
    padding-bottom:0;
		/*overflow: hidden;*/
	}

	.box {
/*		border-bottom:1px solid #e9e9e9; */
		padding-bottom:0px;
	}

	#featured .flexslider .slide-caption {
		width: 100%; 
		padding: 0; 
		position: absolute; 
		left: 0; 
		bottom: 0px; 
    background-color:darkgray;
	}

	#inner-headline .breadcrumb {
		float:left;
		clear:both;
		width:100%;
	}

	.breadcrumb > li {
		font-size:13px;
	}
	
	ul.portfolio li article a i.icon-48{
		width:20px;
		height:20px;
		font-size:16px;
		line-height:20px;
	}

	.left-sidebar{
		border-right:none;
		padding:0 0 0 0;
		border-bottom: 1px dotted #e6e6e6;
		padding-bottom:10px;
		margin-bottom:40px;
	}
	
	.right-sidebar{
		margin-top:30px;
		border-left:none;
		padding:0 0 0 0;
	}
	
	footer .col-lg-1, footer .col-lg-2, footer .col-lg-3, footer .col-lg-4, footer .col-lg-5, footer .col-lg-6, 
	footer .col-lg-7, footer .col-lg-8, footer .col-lg-9, footer .col-lg-10, footer .col-lg-11, footer .col-lg-12{
		margin-bottom:20px;
	}

	#sub-footer ul.social-network {
		float:left;
	}
	
  [class*="span"] {
		margin-bottom:20px;
  }

  header .navbar-collapse  ul.navbar-nav {
    float: right;
    margin-right: -80px;
  }

  .box-gray  {
    padding: 5px 5px 5px;
  }
  .box-gray  h4,.box-gray  i {
    margin-bottom: 5px;
  }

  img.YTV-logo {
    width:43px;
    height:auto;
  }

  section {
    margin:0;
    padding:0;
  }

  .company-info-desc {
    font-size:14px;
  }

}

@media (max-width: 640px) {
  .iframe-live {
    height:300px;
  }

  #main-slider {
    position:absolute;
    width:120%;
    left:-50px;
    overflow: hidden;
  }

  .flex-caption p {
    line-height:20px;
  }
  .ad img {
    width: 100px;
    margin-right:0;
  }
}
/* Bigger  cell phones = iphone 6 and iphone 6 plus*/
@media (max-width: 480px) {
  .iframe-live {
    height:230px;
  }
  .ad img {
    width: 90px;
  }
  #main-slider {
    position:absolute;
    width:170%;
    left:-110px;
    overflow: hidden;
  }
  .flex-caption {
    display:none;
  }
/*  .flex-caption {
    padding-left:1%;
    width:20%;
  }
  .flex-caption p {
    line-height:14px;
  }*/

	.bottom-article a.pull-right {
		float:left;
		margin-top:20px;
	}

	.search{
		float:left;
	}

	
	ul.portfolio li article a i{
		width:20px;
		height:20px;
		font-size:14px;
	}
  .cta-text {
    margin-top:-10px;
    margin-bottom:0;
    padding: 0;
  }
  .cta-text h2 {
    font-size: 24px;
    text-align:center; 
    margin:0;
  }
  
  .navbar-brand {
    margin-top: 5px;
    margin-bottom: 0px;
    border-bottom: none;
  }

  .box-program {
    min-width: 130px;
  }

  .company-info-desc {
    font-size:12px;
  }
  .about-desc {
    width:70%;
    left:15%;
    bottom:50px;
  }

}
/* Small cell phones gallaxy note 3 */
@media (max-width: 360px) {
  .iframe-live {
    height:180px;
  }
  .ad img {
    width: 90px;
  }
  .about-desc {
    width:80%;
    left:10%;
    bottom:70px;
  }

  /*Enlarge the main slider screens and move it to center*/
  #main-slider {
    position:absolute;
    width:170%;
    left:-110px;
    overflow: hidden;
  }
  .flex-caption {
    display:none;
  }
/*  .flex-caption p {
    font-size:10px;
    line-height:13px;
  }*/

}
