/*
Theme Name: Uncode Child
Description: Child theme for Uncode theme
Author: Undsgn™
Author URI: http://www.undsgn.com
Template: uncode
Version: 1.0.0
Text Domain: uncode
*/

@font-face {
    font-family: 'CaslonGraD';
    src: url('/wp-content/themes/uncode-child/fonts/Caslon/CaslonGraD.eot?#iefix') format('embedded-opentype'), url('/wp-content/themes/uncode-child/fonts/Caslon/CaslonGraD.woff') format('woff'), url('/wp-content/themes/uncode-child/fonts/Caslon/CaslonGraD.ttf') format('truetype'), url('/wp-content/themes/uncode-child/fonts/Caslon/CaslonGraD.svg#CaslonGraD') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'FuturaStd-Heavy';
    src: url('/wp-content/themes/uncode-child/fonts/Futura/FuturaStd-Heavy.eot?#iefix') format('embedded-opentype'), url('/wp-content/themes/uncode-child/fonts/Futura/FuturaStd-Heavy.otf') format('opentype'), url('/wp-content/themes/uncode-child/fonts/Futura/FuturaStd-Heavy.woff') format('woff'), url('/wp-content/themes/uncode-child/fonts/Futura/FuturaStd-Heavy.ttf') format('truetype'), url('/wp-content/themes/uncode-child/fonts/Futura/FuturaStd-Heavy.svg#FuturaStd-Heavy') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'FuturaStd-Medium';
    src: url('/wp-content/themes/uncode-child/fonts/Futura/FuturaStd-Medium.eot?#iefix') format('embedded-opentype'), url('/wp-content/themes/uncode-child/fonts/Futura/FuturaStd-Medium.otf') format('opentype'), url('/wp-content/themes/uncode-child/fonts/Futura/FuturaStd-Medium.woff') format('woff'), url('/wp-content/themes/uncode-child/fonts/Futura/FuturaStd-Medium.ttf') format('truetype'), url('/wp-content/themes/uncode-child/fonts/Futura/FuturaStd-Medium.svg#FuturaStd-Medium') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'AlternateGotNo2D';
    src: url('/wp-content/themes/uncode-child/fonts/Alternate/AlternateGotNo2D.eot?#iefix') format('embedded-opentype'), url('/wp-content/themes/uncode-child/fonts/Alternate/AlternateGotNo2D.woff') format('woff'), url('/wp-content/themes/uncode-child/fonts/Alternate/AlternateGotNo2D.ttf') format('truetype'), url('/wp-content/themes/uncode-child/fonts/Alternate/AlternateGotNo2D.svg#AlternateGotNo2D') format('svg');
    font-weight: normal;
    font-style: normal;
}
.Caslon {
    font-family: 'CaslonGraD' !important;
}
.FuturaHeavy,
h1 {
    font-family: 'FuturaStd-Heavy' !important;
    font-weight: normal !important;
}
.FuturaMedium,
body,
p,
li,
h3,
h4,
h5,
h6 {
    font-family: 'FuturaStd-Medium' !important;
    line-height: 1.5em;
    font-weight: normal !important;
}
.Alternate2d,
h2, h3, h4, h5 {
    font-family: 'AlternateGotNo2D' !important;
    font-weight: normal !important;
}
.nav-tabs > li > a span {
	font-family: 'AlternateGotNo2D' !important;
    font-weight: normal !important;
	opacity: 0.7;
}
.nav-tabs > li.active > a span {
	opacity: 1;
}
h2, h3, h4, h5 {
	text-transform: uppercase;
	letter-spacing: 1px;
}
strong {
    font-family: 'FuturaStd-Heavy' !important;
}
ol > li {
    margin-bottom: 20px;
}
.custom_btn {
    font-size: 32px !important;
    font-family: 'AlternateGotNo2D' !important;
    letter-spacing: 2px !important;
    padding: 5px 15px !important;
    font-weight: normal !important;
    cursor: pointer;
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    text-transform: uppercase;
    border: 0 !important;
}
.custom_btn i {
    font-size: 16px;
    vertical-align: top;
    top: 3px;
}
.btn.custom_btn {
    display: inline;
}
.light_btn {
    color: #000 !important;
    background: #fff !important;
}
.light_btn:hover {
    background: #000 !important;
    color: #fff !important;
}
.shadow_btn {
    box-shadow: 0 0 30px #575757;
    -webkit-box-shadow: 0 0 30px #575757;
    -moz-box-shadow: 0 0 30px #575757;
}
.custom_btn.border_btn {
	border: 1px solid #000 !important;
}
.header-phone .light_btn {
    background: #333 !important;
}
body .style-light .btn-container .btn.light_btn:hover,
body .btn-container .btn.light_btn:hover {
    color: #fff !important;
    background: #000 !important;
}
.font-family-menu,
.menu-container ul.menu-smart a {
    font-family: 'FuturaStd-Medium' !important;
    font-weight: normal !important;
    letter-spacing: 2px !important;
}
.afterSlider {
    border-top: 10px solid #000 !important;
}
.afterSlider .uncode_text_column {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.home-services img {
    max-width: 280px !important;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
}
.home-services:hover img {
    opacity: 0.8;
}
.section_title,
.section_title2 {
    letter-spacing: 3px;
    width: 100%;
    max-width: 500px;
    text-align: center;
    position: relative;
    display: block;
    margin-left: auto;
    margin-right: auto;
    color: #000;
}
.section_title2 {
    max-width: none;
}
.style-dark .section_title,
.style-dark .section_title2 {
    color: #ffffff;
}
.zindex3 {
    z-index: 3;
}
.zindex2 {
    z-index: 2;
}
.zindex1 {
    z-index: 1;
}
.home-gallery .t-entry-visual-overlay {
    display: none !important;
}
.home-gallery img {
    max-width: 160px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
.home-gallery .t-entry-visual-cont:hover img,
.home-gallery .t-entry-visual-cont:focus img {
    -webkit-transform: scale(1) !important;
    -moz-transform: scale(1) !important;
    -o-transform: scale(1) !important;
    -ms-transform: scale(1) !important;
    transform: scale(1) !important;
}
.home-members .t-entry-visual {
    border: 7px solid #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.46) !important;
    -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.46) !important;
    -moz-box-shadow: 0 0 20px rgba(0, 0, 0, 0.46) !important;
}
#colophon .row-container.footer-last {
    padding-top: 30px;
    padding-bottom: 30px;
}
.show_mobile {
    display: none !important;
}
.website-by {
    display: block;
    padding-top: 5px;
}
#colophon .row-container.footer-last .site-info a:hover {
    color: #333 !important;
}
.footer-logo img {
    max-width: 280px !important;
    margin-left: auto;
    margin-right: auto;
}
#colophon .widgettitle {
    line-height: 1em !important;
}
#colophon .menu li {
    padding-bottom: 10px;
}
#colophon .icon-box {
    padding-left: 0;
}
.tablepress tfoot th,
.tablepress thead th {
    background: #d9d9d9 !important;
}
.tablepress tbody td,
.tablepress tfoot th {
    border: 0 !important;
    font-size: 16px;
    font-weight: normal;
    padding: 15px 10px;
}
.tablepress th {
    padding: 20px 0 !important;
}
.tablepress th h6 {
    margin-top: 0 !important;
}
/* Gravity Form */

.nolabel label {
    display: none !important;
}
body .gform_wrapper .top_label li.gfield.gf_inline.gf_col7 input[type=text],
body .gform_wrapper .top_label li.gfield.gf_inline.gf_col7 select {
    width: 100% !important;
}
.gform_confirmation_message {
    padding: 20px;
    background: #d4ffd4;
    font-size: 16px !important;
    text-align: center;
}
.gform_wrapper input[type=text], .gform_wrapper input[type=email], .gform_wrapper select, .gform_wrapper input[type=date] {
	width: 100% !important;
}
.sched-day {
    min-width: 60px;
    display: inline-block;
}
.style-light select:not([multiple]) {
	background-image: none !important;
}

body .gform_wrapper .top_label div.ginput_container {
	margin-top: 0 !important;
}
.gform_wrapper li input[type=text],
.gform_wrapper li input[type=email],
.gform_wrapper li select,
.gform_wrapper li textarea {
	padding: 10px !important;
	height: 46px;
}
.gform_wrapper li textarea  {
	height: 150px;
}

.gform_wrapper form li, .gform_wrapper li {
	margin-top: 5px !important;
	overflow: hidden !important;
}	
.gform_wrapper li.gf_captcha:last-child {
	margin-top: 20px !important;
}

.panel-title > a span {
	font-size: 16px;
	font-family: 'FuturaStd-Medium' !important;
}
.panel-title {
	background: #f7f6f6;
    padding: 0 15px;
}

.tmb .dummy {
	margin-top: 0;
}

.numbering-style {
	counter-reset: cnt;
	list-style: none;
}
.numbering-style > li {
	background: #f5f5f5;
    padding: 30px;
    position: relative;
    margin-top: 50px;
}
.numbering-style > li:before {
	content: counter(cnt);
    counter-increment: cnt;
    background: #000;
    font-size: 30px;
    color: #fff;
    width: 60px;
    height: 60px;
    display: block;
    position: absolute;
	top: -30px;
    left: -30px;
    line-height: 60px;
    text-align: center;
    border-radius: 100%;
    -moz-border-radius: 100%;
    -webkit-border-radius: 100%;
}

.tablepress th h6 {
	text-align: left !important;
	padding: 0 11px;
}
/* Eye care table */

.eye-care-table tfoot th, .eye-care-table thead th {
	background: #000 !important;
	color: #fff;
}
.eye-care-table thead th h6 {
	color: #fff !important;
}
.eye-care-table .row-2,
.eye-care-table .row-3 {
	background: #f5f5f5;
}
.eye-care-table .row-4,
.eye-care-table .row-5,
.eye-care-table .row-6 {
	background: #eaeaea;
}
.eye-care-table .row-7,
.eye-care-table .row-8,
.eye-care-table .row-9 {
	background: #e2e2e2;
}
.eye-care-table .row-10 {
	background: #d8d7d7;
}
.eye-care-table .row-11 {
	background: #c1c1c1;
}
.eye-care-table .row-12,
.eye-care-table .row-13,
.eye-care-table .row-14,
.eye-care-table .row-15,
.eye-care-table .row-16,
.eye-care-table .row-17,
.eye-care-table .row-18 {
	background: #afafaf;
}
.eye-care-table .row-3,
.eye-care-table .row-6,
.eye-care-table .row-10,
.eye-care-table .row-11,
.eye-care-table .row-9,
.eye-care-table .row-18 {
	border-bottom: 1px solid #fff;
}
.gform_wrapper .gfield_time_hour i {
	margin-top: 0 !important;
}
.news-item {
	border: 1px solid #ccc;
	padding: 15px;
	min-height: 520px;
}

.sidebar_service img {
	/*border: 1px solid #000;*/
}
.sidebar_service:hover {
	opacity: 0.8;
}

.inline-content {
	display: none !important;
}
.news-item .custom_btn {
	margin-top: 30px;
	display: inline-block;
	padding: 10px !important;
}
.news-item .custom_btn:hover {
	background: #000 !important;
	color: #fff !important;
}
.col2 {
	padding-left: 0 !important;
}
.col2 li {
	position: relative;
	padding-left: 18px;
	list-style: none !important;
}
.col2 li:before {
	content: "•";
    left: 0;
    position: absolute;
    font-size: 13px;
}
.custom_btn {
	background: #fff;
    padding: 10px 20px !important;
    color: #000;
    line-height: 1.5em;
    text-align: center;
    font-size: 20px !important;	
}
.custom_btn:hover {
	opacity: 0.8;
}
.popup_img {
	float: left;
}
.popup_content {
	text-align: center;
	position: relative;
	float: left;
}
.popup_logo {
	margin: 60px auto;
}
iframe{
	background: #000 !important;
}
iframe[title="recaptcha widget"] {
	background: transparent !important;
}

@media screen and (min-width: 960px) {
    .menu-wrapper.with-header {
        position: absolute;
    }
    #masthead {
        margin-top: 60px;
    }
    #logo-container-mobile {
        padding-top: 0;
        padding-bottom: 0;
    }
    #masthead #main-logo .navbar-brand img {
        height: 220px !important;
        position: absolute;
        top: -40px;
    }
    #masthead.is_stuck #main-logo .navbar-brand img {
        top: 0;
        position: relative;
        height: inherit !important;
        padding: 20px 0;
    }
    .menu-horizontal > div {
        height: 50%;
    }
    .menu-horizontal .header-desktop {
        float: right;
        padding-top: 22px;
        padding-bottom: 15px;
    }
    .header-phone {
        color: #fff;
        font-size: 25px;
        margin: 0 10px;
    }
    .menu-smart > li > a {
        padding-left: 30px;
        padding-right: 30px;
    }
    .menu-smart > li > .drop-menu li {
        padding: 5px 0;
    }
    .menu-smart > li {
        border-top: 2px dotted #2b2b2b !important;
        margin-left: -2px;
    }
    .header-desktop {
        display: block;
    }
    .header-mobile {
        display: none;
    }
    .section_title:before,
    .section_title:after {
        width: 70px;
        height: 5px;
        color: inherit;
        content: "";
        left: 0;
        background: #000;
        top: 20px;
        position: absolute;
    }
    .section_title:after {
        left: initial;
        right: 0;
    }
    .style-dark .section_title:before,
    .style-dark .section_title:after {
        background: #fff;
    }
    #colophon .menu, .col2 {
        -moz-column-count: 2;
        -webkit-column-count: 2;
        column-count: 2;
    }
    .eye-care-table .column-1 {
        width: 15%;
    }
    .eye-care-table .column-2 {
        width: 30%;
    }
    .eye-care-table .column-3 {
        width: 30%;
    }
    .eye-care-table .column-4 {
        width: 25%;
    }
	body .gform_wrapper .top_label li.gfield.gf_appointment {
		margin-top: 20px !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		background: #f2f2f2;
		padding: 10px;
		width: 32.8% !important;
		min-height: 160px;
	}
	body .gform_wrapper .top_label li.gfield.gf_appointment.appointment_other {
		margin-top: -83px !important;
		min-height: 0 !important;
	}
	
}
@media screen and (max-width: 959px) {
    .header-desktop {
        display: none;
    }
    .header-mobile {
        display: block;
    }
    .custom_btn {
        font-size: 22px !important;
    }
    h1 {
        font-size: 30px !important;
    }
    h2 {
        font-size: 28px !important;
    }
    h3 {
        font-size: 26px !important;
    }
    h4 {
        font-size: 24px !important;
    }
    #colophon .uncode_text_column,
    #colophon .widget_nav_menu,
    #colophon .uncont {
        text-align: center;
    }
}
@media screen and (min-width: 768px) {
    .home-glasses .empty-space.mobile-hidden {
        height: 350px;
    }
    .gform_wrapper .top_label li.gfield.gf_inline.gf_col7 {
        width: 13% !important;
        margin-right: 1% !important;
    }
    .gform_wrapper .top_label li.gfield.gf_inline.gfield_html.gf_col7 {
        text-align: center;
    }
	.nav-tabs > li > a span { 
		font-size: 30px !important;
	}
	#popmake-524 {
		max-height: 467px;
	}
	#popmake-524 .popup_content {
		height: 467px;
		width: calc(100% - 311px);
		width: -moz-calc(100% - 311px);
		width: -webkit-calc(100% - 311px);
	}
	#popmake-524 .popup_btn {
		position: absolute;
		bottom: 60px;
		left: 0;
		right: 0;
		margin-left: auto;
		margin-right: auto;
	}

}
@media screen and (min-width: 768px) and (max-width: 960px) {
		body .gform_wrapper .top_label li.gfield.gf_appointment.appointment_other {
		margin-top: -45px !important;
		min-height: 0 !important;
	}
}
@media screen and (max-width: 767px) {
    .show_mobile {
        display: inline !important;
    }
    .show_desktop {
        display: none !important;
    }
    .uncell.single-block-padding,
    .uncell.double-block-padding {
        padding: 0 !important;
    }
    .art-table h6 {
        margin-top: 0;
        text-align: left !important;
    }
    .art-table .art-tbody .art-tr .art-td .art-td-last {
        line-height: 1.5em !important;
    }
    .gform_wrapper .top_label li.gfield.gf_inline.gf_col7,
    body .gform_wrapper .top_label li.gfield,
    body .gform_wrapper .top_label li.gfield .name_first,
    body .gform_wrapper .top_label li.gfield .name_last {
        width: 100% !important;
        margin-right: 0% !important;
    }
    .gform_wrapper .top_label li.gfield.gf_inline.gf_col7 input,
    body .gform_wrapper .top_label li.gfield input,
    .gform_wrapper .top_label li.gfield.gf_inline.gf_col7 select,
    body .gform_wrapper .top_label li.gfield select {
        width: 100% !important;
    }
	body .gform_wrapper .top_label li.gfield.nolabel {
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
	.popup_img {
		display: none;
	}
	.popup_content {
		width: 100%;
		padding: 0 0 50px;
	}
	.tab-container .nav-tabs li a span {
		font-size: 20px;
	}
}