/*
Theme Name: Modernize Child
Theme URI: -
Description: Modernize Wordpress Theme Modifications
Author: Goodlayers
Author URI: http://goodlayers.com
Template: modernize-v3-15
Version: 3.15
*/

@import url("../modernize-v3-15/style.css");

body {
    font-size:16px !important;
}

div.body-wrapper, h1, h2, h3, h4, h5, h6, .gdl-title {
    color:#333 !important;
}

div.navigation-wrapper, div.navigation-wrapper .sf-menu li li {
    background-color: aliceblue !important;
    box-shadow: 1px 1px 2px #999;
}

.sf-menu li, div.navigation-wrapper {
    background: #819feb; /* Old browsers */
    background: -moz-linear-gradient(top,  #819feb 0%, #070066 100%) !important; /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#819feb), color-stop(100%,#070066)) !important; /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #819feb 0%,#070066 100%) !important; /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #819feb 0%,#070066 100%) !important; /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #819feb 0%,#070066 100%) !important; /* IE10+ */
    background: linear-gradient(to bottom,  #819feb 0%,#070066 100%) !important; /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#819feb', endColorstr='#070066',GradientType=0 ) !important; /* IE6-9 */
}

div.main-navigation-wrapper div.navigation-wrapper ul.sf-menu li a, div.navigation-wrapper ul.sf-menu li a, .navigation-wrapper ul.sf-menu ul a, .navigation-wrapper ul.sf-menu ul .current-menu-ancestor ul a, .navigation-wrapper .sf-menu ul .current-menu-item ul a, div.navigation-wrapper sf-menu .current-menu-ancestor ul a, .navigation-wrapper .sf-menu .current-menu-item ul a {
    color: white !important;
    text-shadow: 1px 2px black;
}

div.navigation-wrapper .sf-menu li a:hover {
    color: #dedede !important;
}

div.custom-sidebar #searchsubmit, div.search-wrapper input[type="submit"] {
    background: url(https://telios.com/wp-content/uploads/2015/01/find-17px_white.png) no-repeat center !important;
}

h6 {
    font-size:.7em !important;
}

blockquote, blockquote p {
    color: #333;
}

img {
    margin-bottom:20px;
}

a:hover {
    color: blue !important;
    text-decoration: underline;
}

.bluebox {
    text-align: center;
    background-color: #778899;
    box-shadow: 1px 1px 2px #000;
    border: #8ec3d9 solid 1px;
    padding: 20px;
    background: #819feb;
    background: -moz-linear-gradient(top, #819feb 0%, #070066 100%) !important;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#819feb), color-stop(100%,#070066)) !important;
    background: -webkit-linear-gradient(top, #819feb 0%,#070066 100%) !important;
    background: -o-linear-gradient(top, #819feb 0%,#070066 100%) !important;
    background: -ms-linear-gradient(top, #819feb 0%,#070066 100%) !important;
    background: linear-gradient(to bottom, #819feb 0%,#070066 100%) !important;
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#819feb', endColorstr='#070066',GradientType=0 ) !important;
}

.bluebox h2, .bluebox p {
    color: white !important;
    text-shadow: 1px 2px black !important;
}

.centertext {
    text-align: center;
}

.rfloat {
    float: right;
}

#certificate {
    float:left;
}

.contact_call {
    background: #4ac8fd; /* Old browsers */
    background: -moz-linear-gradient(top, #4ac8fd 0%, #0a9acf 15%, #2989d8 50%, #0a9acf 50%, #46cafa 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4ac8fd), color-stop(15%,#0a9acf), color-stop(50%,#2989d8), color-stop(50%,#0a9acf), color-stop(100%,#46cafa)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #4ac8fd 0%,#0a9acf 15%,#2989d8 50%,#0a9acf 50%,#46cafa 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #4ac8fd 0%,#0a9acf 15%,#2989d8 50%,#0a9acf 50%,#46cafa 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #4ac8fd 0%,#0a9acf 15%,#2989d8 50%,#0a9acf 50%,#46cafa 100%); /* IE10+ */
    background: linear-gradient(to bottom, #4ac8fd 0%,#0a9acf 15%,#2989d8 50%,#0a9acf 50%,#46cafa 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4ac8fd', endColorstr='#46cafa',GradientType=0 ); /* IE6-9 */
    overflow:hidden;
    margin:5px 20px 5px 150px;
    color:#fff;
    padding:10px;
    font-size:1.3em;
    font-weight:bold;
    text-shadow:2px 2px 1px #888;
    border-radius:20px;
    border:3px outset;
}

.pic_text {
    border:1px #B6AFA9 groove;
    padding:5px;
    box-sizing:border-box;
}

.pic {
    overflow:hidden;
}

div.eight div.pic {
    height:250px;
}

div.one-third div.pic {
    height:150px;
}

.pic img {
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    margin-left:auto;
    margin-right:auto;
}

.textbox {
    background-color:#EEE;
    height:180px;
    margin:5px -5px -5px -5px;
    padding:10px;
}

.textbox h3 {
    font-variant:small-caps;
    text-align:center;
    color:#666;
    font-weight:bold;
}

.hlink {
    text-align:center;
    margin-top:20px;
    margin-bottom:10px;
    color:#ef7f2c;
}

.foursquare {
    height:300px;
    width: 75%;
    overflow:hidden;
    background-color: #64b1ec;
    box-shadow: 1px 1px 2px #000;
    border: #8ec3d9 solid 1px;
    padding: 10px;
}

.foursquare a {
    color: blue;
}

.foursquare h5 {
    height:40px;
    line-height:40px;
    padding-left:45px;
    background-repeat:no-repeat;
    background-size:40px;
}

div.body-wrapper {
    background-color:#0F6DAE;
}

div.logo-wrapper {
    padding-bottom:15px;
    overflow:hidden;
    background:url(https://telios.com/wp-content/uploads/2014/07/main_logo.jpg) 25% 30% no-repeat;
    float:none;
    margin: 0 0 -20px 0;
}

div.logo-wrapper img {
    opacity:0;
}

div.social-wrapper-text {
    margin-top:0;
    margin-right:inherit;
    margin-bottom:0;
    margin-left:inherit;
}

div.social-icon-wrapper {
    margin-top:-5px;
    position: relative;
    z-index: 1;
}

div.social-icon {
    opacity: 1 !important;
}

div.column, div.columns {
    margin:10px;
}

.testimonial img {
    float:left;
    margin-right:30px;
    width:200px;
}

.testimonial p:last-child {
    margin-bottom:0;
}

.partner {
    width:85%;
}

.partner img {
    width:150px;
    float:left;
    margin:0 20px
}

div.custom-sidebar ul li {
    background:none !important;
}

.gform_wrapper .top_label input.medium, .gform_wrapper .top_label select.medium {
    width: 100% !important;
}

div.footer-widget-wrapper {
    padding-top: 0;
}

.footer-widget-wrapper div:nth-of-type(3) {
    text-align:right;
}

.textwidget .subscription {
    color: #333;
    background-color: #fcc504;
    padding: 10px;
    border: thin solid rgba(255,255,51,1);
    border-radius: 10px 20px 20px 10px;
    box-shadow: 2px 2px 3px rgba(0,0,0,1);
}
.subscription h1 {
    color: #821210 !important;
    text-shadow: 1px 1px 2px;
    text-align: center;
    font-family: "HelveticaNeue", "Helvetica Neue", Arial, sans-serif;
}

.subscription input {
    margin: 1%;
    background-color: white;
}

.subscription input.mail {
    width: 93%;
}

.subscription input.name {
    width: 45%;
}

.subscription button {
    background: #e47f7e; /* Old browsers */
    background: -moz-linear-gradient(top, #e47f7e 0%, #ba2b2b 50%, #ba2b2b 51%, #a51d1f 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e47f7e), color-stop(50%,#ba2b2b), color-stop(51%,#ba2b2b), color-stop(100%,#a51d1f)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #e47f7e 0%,#ba2b2b 50%,#ba2b2b 51%,#a51d1f 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #e47f7e 0%,#ba2b2b 50%,#ba2b2b 51%,#a51d1f 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #e47f7e 0%,#ba2b2b 50%,#ba2b2b 51%,#a51d1f 100%); /* IE10+ */
    background: linear-gradient(to bottom, #e47f7e 0%,#ba2b2b 50%,#ba2b2b 51%,#a51d1f 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e47f7e', endColorstr='#a51d1f',GradientType=0 ); /* IE6-9 */
    color: #FFF;
    border: 2px solid #923210;
    line-height: 1.3em;
    border-radius: 30px;
    vertical-align: middle;
    font-size: 1em;
    width: 95%;
    margin-left: 2.5%;
    height: auto;
    line-height: 2em;
}

.subscription small {
    font-size: 70% !important;
}

.sumome-scrollbox-popup .sumome-scrollbox-close {
    color: inherit !important;
}

.bio, .product {
    width: 90%;
    margin: auto;
}

.bio img {
    width: 300px;
    margin: 10px auto;
}

.product img {
    width: 250px;
    margin: 10px auto;
}

.product h5 {
    font-weight: bold;
    font-size: 125%;
    margin-top:20px;
    text-align: center;
}

/* Adjust standard width */
@media only screen and (min-width: 960px) {
    .container-wrapper, .all-container-wrapper.boxed-layout {
        width: 940px !important;
    }

    div.right-sidebar-wrapper {
        padding-left: 5px !important;
        padding-top: 5px !important;
        width: 85%;
    }

    .container .sixteen.columns, div.gdl-page-content {
        width: 93%;
    }

    .container five.columns {
        width: 250px !important;
    }

    .container .one-third.column {
        width: 290px !important;
    }

    div.copyright-container {
        width: 930px !important;
    }

    .gdl-divider, .divider {
        width: 93% !important;
    }

    .container .eight.columns {
        width: 440px !important;
    }

    .container .sidebar-included .gdl-page-item .eight.columns {
        width: 310px !important;
    }

    .container .sidebar-included .gdl-page-item .one-third.column {
        width: 200px !important;
    }
}

/* Tablet Portrait size to standard 960 (devices and browsers) */
@media only screen and (min-width: 768px) and (max-width: 959px) {
    div.social-wrapper-text {
	margin-top:35px;
	font-size:13px;
    }

    div.social-icon-wrapper {
	margin-top:-15px;
    }

    div.right-sidebar-wrapper {
        padding-top:5px;
        padding-left:5px;
    }

    .subscription input {
        margin-left: 0;
    
}

/* All Mobile Sizes (devices and browser) */
@media only screen and (max-width: 767px) {
    body {
        font-size:12px !important;
    }

    .foursquare {
	float: none !important;
	width: 90%;
    

    div.logo-wrapper {
        background:none;
    }

    div.logo-wrapper img {
        opacity:100;
    }

    #certificate {
	-webkit-transform:scale(.75);
	-moz-transform:scale(.75);
	-ms-transform:scale(.75);
	-o-transform:scale(.75);
	transform:scale(.75);
    }

    .contact_call {
	margin:0;
	width:90%;
    }
}

/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
@media only screen and (min-width: 480px) and (max-width: 767px) {
    .contact_call {
	margin:5px 20px 5px 150px;
	width:auto;
    }
}

/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
@media only screen and (max-width: 479px) {
    .testimonial img {
	float:none;
    }
}