/*! HTML5 Boilerplate v5.0.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
	
}
/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}



/* ==========================================================================
   site css
   ========================================================================== */

.header_wrap {
	height: 90px;
	background-image:url(../img/header_bgt.png);
}
.header_left {
	display:block;
	font-family: 'Titillium Web', sans-serif;
	font-weight:300;
	color:rgba(255,255,255,0.7);	
	font-size:24px;
	float:left;
	clear:none;
	padding-top: 29px;
	text-decoration:none;
}
.header_left:hover {
	color:rgba(255,255,255,1.00);	
}
.header_right {
	width:23px;
	height:18px;
	cursor:pointer;
	background-image:url(../img/top_menu_icons.png);
	background-position:23px 0;
	float:right;
	clear:none;
	margin-top: 35px;
}

.main_wrap {
	min-height:150px;
	background-image:url(../img/main_wrap_bg.png);
	background-repeat:repeat-x;	
}
.main_wrap_work {
	min-height:150px;
	position:relative;
}
.main_index_text {
	font-family: 'Titillium Web', sans-serif;
	font-weight: 400;
	color: rgba(255,255,255,1.00);
	text-shadow: 1px 1px 0px rgba(0,0,0,0.50);
	font-size:25px;
	padding-top:15px;
}
.menu_items_cnt {
	position:relative;	
}

.menu_wrap {
	display:none;
	background-color:rgba(0,0,0,0.90);	
}
.menu_fb_link {
	display: block;
	width: 46px;
	height: 46px;
	background-image:url(../img/fb_icon.png);
	background-position:0 0;	
}
.menu_fb_link:hover {
	background-position:0 -46px;		
}
.works_title {
	display:inline-block;
	border-top: 4px solid #000;
	padding-top:10px;
	padding-right:10px;
	font-color: #000;
	font-size: 13px;
	font-family: 'Titillium Web', sans-serif;
	font-weight: 700;
}
.works_list_item_cnt {
	display:block;
	float: left;
	clear: none;
	width: 280px;
	height:140px;
	text-decoration:none;
}
.works_list_thumb {
	float:left;
	clear:none;
	width:140px;
	height:140px;
	overflow:hidden;
}
.works_list_title_cnt {
	float:right;
	clear:none;
	width:140px;
	height:140px;
	background-image:url(../img/works_list_title_cnt_bg.png);
	background-position:-140px 0px;
	display: table;
}
.works_list_title_text {
	display: table-cell;
  	vertical-align: middle;
	
}
.works_list_title_text_inner {
	line-height: 140%; 
	color: #E5E5E5;
	background-color:#fff;
	font-size: 15px;
	font-family: 'Titillium Web', sans-serif;
	font-weight: 700;
	padding-left:5px;
	padding-right:5px;
	text-indent: 5px;
}
.works_list_item_cnt .works_list_thumb img {
	-webkit-transform: scale(1);
	transform: scale(1);
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}
.works_list_item_cnt:hover .works_list_thumb img {
	-webkit-transform: scale(1.2);
	transform: scale(1.2);
}

.cycle_details_cnt {
	margin-top: 65px;
	margin-bottom:55px;	
}
.cycle_details_left {
	width: 310px;
	float:left;
	clear:none;	
	margin-left:10px;
}
.cycle_details_thumb {
	width: 140px;
	height: 140px;
	background-color:#000;
	display:table;
	float:left;
	clear:none;
}
.cycle_details_title_text {
	display: table-cell;
  	vertical-align: middle;
	
}
.cycle_details_title_text_inner {
	display:inline;
	line-height: 140%; 
	color: #000;
	background-color:#fff;
	font-size: 15px;
	font-family: 'Titillium Web', sans-serif;
	font-weight: 700;
	padding-left:5px;
	padding-right:5px;
	text-indent: 5px;
}
.cycle_details_back_href {
	display:block;
	float:left;
	clear:none;
	width: 110px;
	height: 36px; /*45*/
	font-family: 'Titillium Web', sans-serif;
	font-weight: 700;
	font-size:12px;
	background-image:url(../img/cycle_back_bg.png);
	background-repeat:no-repeat;
	padding-left:33px;
	padding-top: 9px;
	text-decoration:none;
	color: #000;
	margin-left:20px;
}
.cycle_details_right {
	font-family: 'Titillium Web', sans-serif;
	font-weight: 400;
	font-size: 18px;	
}
.cycle_details_picture_href {
	margin-left: 10px;
	margin-right: 10px;
	margin-bottom: 20px;
	display:block;
	float:left;
	clear:none;
}
.private_cycle_login_cnt {
	font-family: 'Titillium Web', sans-serif;
	font-weight: 400;
	font-size: 18px;	
}
.private_cycle_pwd_cnt {
	padding-top:12px;	
}
.private_cycle_pass_fld {
	border: 1px solid rgba(77,77,77,1.00);	
}


.text_page_title_cnt {
	position:absolute;
	top:0px;
	z-index:102;
	width: 100%;
}

.text_page_title {
	display:inline-block;
	border-top: 4px solid #000;
	padding-top:10px;
	padding-right:10px;
	font-color: #000;
	font-size: 13px;
	font-family: 'Titillium Web', sans-serif;
	font-weight: 700;
}
.text_header_pic {
	margin:0 auto;
	width:100%;
}
.text_page_text_cnt {
	font-family: 'Titillium Web', sans-serif;
	font-weight: 400;
	padding-top:35px;
	padding-bottom:20px;
	
}
.text_page_text_cnt p {
	line-height:120%;	
}
.read_more_link {
	margin-top:20px;
	width: 110px;
	height: 21px; 
	font-family: 'Titillium Web', sans-serif;
	font-weight: 700;
	font-size:12px;
	background-image:url(../img/read_more_bg.png);
	background-repeat:no-repeat;
	background-position:0 -26px;
	padding-left:48px;
	padding-top: 9px;
	text-decoration:none;
	color: #000;
	cursor:pointer;	
}

.details_hidden_text {
	display:none;	
}

@media only screen and (min-width: 1024px) {
	/* min-width 1024px */
	.header_inner {
		width: 960px; /*960*/
		height: 90px;
		margin:0 auto;
	}
	.header_right {
		margin-right:10px;	
	}
	.header_left {
		margin-left:10px;	
	}
	
	.main_inner {
		width: 960px; /*960*/
		min-height: 150px;
		margin:0 auto;
	}
	.main_index_text_cnt {
		margin-left:10px;
		margin-right:10px;
		display:none;
	}
	.main_work_text_cnt {
		/*margin-left:10px;
		margin-right:10px;*/
		
	}
	.main_index_line {
		height:42px;
		background-image:url(../img/index_main_line.png);
		background-repeat:no-repeat;
		background-position:0px bottom;
	}
	
	.menu_wrap {
		position:absolute;
		top: 0;
		left:0;
		width: 100%;	
	}
	.menu_inner {
		width: 960px;
		margin:0 auto;	
	}
	
	.menu_item_href {
		font-family: 'Titillium Web', sans-serif;
		font-weight: 700;
		color: rgba(255,255,255,0.75);
		font-size:48px;
		clear:both;
		text-decoration:none;
	}
	.menu_item_href:hover {
		color: rgba(255,255,255,1.00);
	}
	.menu_item_sep {
		/*margin-bottom:23px;*/
		display:block;
		height:23px;
	}
	.menu_items_cnt {
		padding-top:23px;
		padding-left:10px;
		padding-right:10px;	
	}
	.menu_fb_link {
		position:absolute;
		right:10px;
		bottom:25px;	
	}
	.works_list_pre {
		height:71px;	
	}
	.works_list_item_cnt {
		margin-left:10px;
		margin-bottom: 90px;
		margin-right: 30px;
	}
	.works_title {
		margin-left:10px;	
	}
	.cycle_details_cnt {
		margin-let:10px;	
	}
	.cycle_details_right {
		width: 580px;
		float:left;
		clear:none;
	}
	.text_page_title_inner {
		width: 960px;
		height: 40px;
		margin:0 auto;	
	}
	.text_page_title {
		margin-left:10px;	
	}
	.text_page_text_cnt {
		padding-left:10px;
		padding-right:10px;
	}

}
@media only screen and (min-width: 768px) and (max-width: 1023px) {
	/* 768px width */
	.header_inner {
		width: 768px; 
		height: 90px;
		margin:0 auto;
	}
	.header_right {
		margin-right:33px;	
	}
	.header_left {
		margin-left:33px;	
	}
	
	.main_inner {
		width: 768px; 
		min-height: 150px;
		margin:0 auto;
	}
	.main_index_text_cnt {
		margin-left:33px;
		margin-right:33px;
		display:none;
	}
	.main_work_text_cnt {
		/*margin-left:10px;
		margin-right:10px;*/
	}
	.main_index_line {
		height:42px;
		background-image:url(../img/index_main_line.png);
		background-repeat:no-repeat;
		background-position:0px bottom;
	}
	
	.menu_wrap {
		position:absolute;
		top: 0;
		left:0;
		width: 100%;	
	}
	.menu_inner {
		width: 768px;
		margin:0 auto;	
	}
	
	.menu_item_href {
		font-family: 'Titillium Web', sans-serif;
		font-weight: 700;
		color: rgba(255,255,255,0.75);
		font-size:48px;
		clear:both;
		text-decoration:none;
	}
	.menu_item_href:hover {
		color: rgba(255,255,255,1.00);
	}
	.menu_item_sep {
		margin-bottom:23px;
	}
	.menu_items_cnt {
		padding-top:23px;
		padding-left:10px;
		padding-right:10px;	
	}
	.menu_fb_link {
		margin-top: 25px;	
	}
	.works_list_pre {
		height:71px;	
	}
	.works_list_item_cnt {
		margin-left:10px;
		margin-bottom: 90px;
		margin-right: 30px;
	}
	.works_title {
		margin-left:10px;	
	}
	.cycle_details_cnt {
		margin-let:10px;	
	}
	.cycle_details_right {
		clear:both;
		padding-top:20px;
		margin-left:10px;
	}
	.text_page_title_inner {
		width: 768px;
		height: 40px;
		margin:0 auto;	
	}
	.text_page_title {
		margin-left:33px;	
	}
	.text_page_text_cnt {
		padding-left:33px;
		padding-right:33px;
	}
}
@media only screen and (min-width: 320px) and (max-width: 767px) {
	/* 320px width */
	.header_inner {
		width: 320px; 
		height: 90px;
		margin:0 auto;
	}
	.header_right {
		margin-right:17px;	
	}
	.header_left {
		margin-left:17px;	
	}
	
	.main_inner {
		width: 100%;
		min-height: 150px;
		margin:0 auto;
	}
	.main_inner.centered {
		width: 320px;
		min-height: 150px;
		margin:0 auto;
	}
	.main_index_text_cnt {
		margin-left:17px;
		margin-right:17px;
		display:none;
	}
	.main_work_text_cnt {
		/*margin-left:10px;
		margin-right:10px;*/
	}
	.main_index_line {
		height:42px;
		background-image:url(../img/index_main_line.png);
		background-repeat:no-repeat;
		background-position:0px bottom;
	}
	
	.menu_wrap {
		position:absolute;
		top: 0;
		left:0;
		width: 100%;	
	}
	.menu_inner {
		width: 320px;
		margin:0 auto;	
	}
	
	.menu_item_href {
		font-family: 'Titillium Web', sans-serif;
		font-weight: 700;
		color: rgba(255,255,255,0.75);
		font-size:48px;
		clear:both;
		text-decoration:none;
	}
	.menu_item_href:hover {
		color: rgba(255,255,255,1.00);
	}
	.menu_item_sep {
		margin-bottom:23px;
	}
	.menu_items_cnt {
		padding-top:23px;
		padding-left:10px;
		padding-right:10px;	
	}
	.menu_fb_link {
		margin-top: 25px;	
	}
	.works_list_pre {
		height:71px;	
	}
	.works_list_item_cnt {
		margin-left:10px;
		margin-bottom: 22px;
		margin-right: 30px;
	}
	.works_title {
		margin-left:10px;	
	}
	.cycle_details_cnt {
		margin-let:10px;	
	}
	.cycle_details_right {
		clear:both;
		padding-top:20px;
		padding-left: 15px;
		padding-right: 15px;
	}
	.text_page_title_inner {
		width: 320px;
		height: 40px;
		margin:0 auto;	
	}
	.text_page_title {
		margin-left:20px;
	}
	.text_page_text_cnt {
		padding-left:17px;
		padding-right:17px;
	}
}

.text_page_text_cnt img {
	max-width: 100%;
	height: auto;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 * http://juicystudio.com/article/screen-readers-display-none.php
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
.responsive-iframe {
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
}
.responsive-iframe iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
    border: 0;
}

.nyroModalYoutube {
	/*overflow: hidden;
    padding-bottom: 56.25%;*/
    position: relative;
    /*height: 0;*/
}

.nyroModalYoutube iframe {
	/*left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
    border: 0;*/
	min-width: 500px;
	min-height: 400px;
}
@media all and (max-width:480px){
	.nyroModalYoutube iframe {
		width: 322px;
		height: 200px;
		min-width: 322px;
		min-height: 200px;
	}
}

