/*
 Theme Name:   SPG Control Child
 Author:       SMRT Digital
 Author URI:   http://smrtdigital.com
 Template:     spg
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  twenty-fifteen-child
*/


/* ===========================
    Login Page
=========================== */
.login-page {
	min-height: 400px;
}
.login-page #loginform {
    max-width: 300px;
    margin: 30px 0;
    border: 1px solid #efeeee;
    padding: 10px 15px;
}
.login-page #loginform label {
    display: block;
}	
.login-page #loginform .input {
	width: 100%;
	min-height: 35px;
    padding: 0 10px;
    position: relative;
}
.login-page #loginform #wp-submit {
    padding: 7px 10px;
	background: #004181;
    border: 0;
    color: #fff;
    font-size: 15px;
}
.login-page #loginform #wp-submit:hover {
	background: #1d6fb8;
	cursor: pointer;
}

/* ===========================
    Download Page
=========================== */
.download-page {
	min-height: 400px;
	padding: 30px 0;
}
.download-page .all-items {
	padding: 20px 0;
}
.download-page .downloadable {
	margin-bottom: 50px;
}
.download-page .all-items .item {
    float: left;
    width: 50%;
    margin-bottom: 50px;
}
.download-page  h2 {
	text-align: left;
    border-bottom: none;
    margin: 20px 0 10px 0;
}
.download-page .left {
	float: left;
}
.download-page .right {
	float: right;
}
.download-page .w-30 { width: 140px;  }
.download-page .w-70 { width: calc(100% - 140px);  }
.download-page .item:after,
.download-page .clear-div:after,
.download-page .list-view:after { 
	content: '';
	clear: both;
	display: block;
}

.download-page .item .description {
	padding-right: 20px;
	padding-left: 10px;
}

.download-page .description > div > span:first-child {
    color: #5d5a5a;
    font-weight: 600;
    min-width: 100px;
    display: inline-block;
}
.download-page .item .img {
	min-width: 120px;
    background: #f2f2f3;
    height: auto;
    display: block;
    margin-bottom: 10px;
}
.download-page .btn {
	padding: 0 5px;
	display: inline-block;
	max-width: 150px;
	text-align: center;
	background: #004181;
    border: 0;
    color: #fff;
    font-size: 14px;
}
.download-page .btn:hover {
	background: #1d6fb8;
	cursor: pointer;
}
.download-page .td-view {
	margin-bottom: 40px;
	margin-top: 10px;
}
.download-page .td-view h3 {
	font-size: 18px;
	padding: 0;
	line-height: 1;
}

.download-page .image {
    margin: 0 auto;
    max-width: 150px;
    height: 150px;
    background: #e8e6e6;
}
.download-page .grid-items .item {
    width: 50%;
    float: left;
}
.download-page .action-btn {
	text-align: left;
}
.download-page .action-btn .btn {
    display: inline-block;
}
.download-page .cd-item {
	margin: 30px 0;
}
.download-page .details .info {
    line-height: 1.2;
    margin-bottom: 20px;
}
.download-page .upload-btn {
    float: right;
    padding: 9px 10px !important;
    background: #1d6fb8;
    color: #fff;
    cursor: pointer;
}

/* Style the tab */
div.tab {
    overflow: hidden;
}

/* Style the buttons inside the tab */
div.tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    color: #073860;
    font-size: 16px;
}

/* Change background color of buttons on hover */
div.tab button:hover {
    background-color: #ddd;
}

/* Create an active/current tablink class */
div.tab button.active {
    background-color: #1d6fb8;
    color: #fff;
}

/* Style the tab content */
.download-page .tabcontent {
    display: none;
    padding: 6px 12px;
    border: 1px solid #e6e5e5;
}


/* Download Table */
.download-table tr:nth-child(even) {
    background: #f9f8f8;
}
.download-table tr td {
    padding: 10px 5px;
}
.download-table tr td:first-child {
	width: 60%;
}
.download-table tr td:nth-child(2) {
	width: 7%;
}
.download-table tr td:nth-child(3) {
	width: 13%;
}
.download-table tr td:nth-child(4) {
   width: 20%;
}
.download-table.cert-table tr td:first-child  {
    width: 20%;
}
.download-table.cert-table tr td:nth-child(2)  {
    width: 40%;
}
.download-table.cert-table tr td:nth-child(3)  {
    width: 20%;
}

.form-uploader,
.form-editor {
    position: absolute;
    z-index: 3;
    background: #ebf0f5;
    width: 100%;
    max-width: 500px;
    border: 1px solid #ebf0f5;
    padding: 10px 20px;
    box-shadow: 0 4px 11px #868585;
    top: 35px;
    right: 0;
    display: none;
}
.form-uploader.show,
.form-editor.show {
    display: block;
}
.hide-form {
    cursor: pointer;
    display: block;
    float: right;
    padding: 0 5px;
    text-align: center;
    width: 28px;
    background-color: #1d6fb8;
    color: #fff;
}
.form-editor.show {
    display: block;
    left: 0;
    right: 0;
    margin: 0 auto;
    box-shadow: 0px 2px 30px #151414;
}
.form-uploader select, .form-uploader input,
.form-editor select, .form-editor input {
    width: 100%;
    height: 35px;
    padding: 0 5px;
    border: 1px solid #ccc;
    margin-bottom: 10px;
}
.form-uploader input[type="submit"],
.form-editor input[tpe="submit"] {
    background: #1d6fb8;
    color: #fff;
    max-width: 100px;
    border: 0;
}
.form-uploader input[type="submit"]:hover,
.form-editor input[tye="submit"]:hover {
    cursor: pointer;
}
.form-uploader .error-field,
.form-editor .error-field {
    border: 1px solid #ea5e5e;
}
.label-success {
    color: #2bce0f;
    line-height: 1.4;
    margin: 13px 0;
    font-size: 17px;
}
.form-uploader .close {
    cursor: pointer;
    display: block;
    float: right;
    padding: 0 5px;
    text-align: center;
    width: 25px;
    line-height: 1.6;
    background-color: #1d6fb8;
    color: #fff;
    margin-bottom: 6px;
}
@media screen and ( max-width: 1470px) and ( min-width: 1440px) { 
    #top-menu li  {
        padding-left: 15px;
        padding-right: 15px;
    }
}
@media screen and ( max-width: 1300px) {
	#top-menu li a {
	    font-size: 16px !important;
	}
	#top-menu li {
	    padding-right: 10px;
	    padding-left: 10px;
	}
    #et-main-area .download-page .btn {
        font-size: 12px !important;
    }
}
@media screen and ( max-width: 1200px) {
	#top-menu li a {
	    font-size: 14px !important;
	}
	#top-menu li {
	    padding-right: 10px;
	    padding-left: 10px;
	}
    .download-table tr td:nth-child(2),
    .download-table tr th:nth-child(2) {
        display: none;
    }
}
@media screen and ( max-width: 1090px) {
	#top-menu-nav {
	    padding-right: 172px;
	}
	#top-menu li {
	    padding-right: 3px;
	    padding-left: 3px;
	}
}

@media screen and ( max-width: 992px) {
	#et-main-area .download-page .all-items .item {
		float: none;
		width: 100%;
	}
    .download-page .upload-btn {
        float: none;
        margin-bottom: 10px;
    }
    #et-main-area div.tab button {
        float: left;
        padding: 12px 9px;
        font-size: 13px;
    }

}
@media screen and (max-width: 980px){
     h1.product-item-title {
    text-align: center;
    margin-top: 50px;
}
.page-id-537 p.dl-button {
    margin: 15px 0 40px;	
}

}
@media screen and ( max-width: 767px) {
 #et-main-area .download-page .upload-btn {
    float: none;
 }
.footer-credits .container .text-right,
.footer-credits .container .text-left {
    float: none;
    width: 100%;
    text-align: left;
}
}
@media screen and ( max-width: 500px) {
    .download-page .tabcontent {
        overflow-x: scroll;
    }
    .download-page .tabcontent table {
        width: 500px;
    }
}
h1.productitem-title {
    padding: 0;
}
.et_pb_row.et_pb_row_3 h1.productitem-title,
.et_pb_row.et_pb_row_5 h1.productitem-title,
.et_pb_row.et_pb_row_9 h1.productitem-title {
    margin-top: 30px;
}
a.download-datasheet {
    padding: 15px 20px;
    background-color: #073860;
    color: #fff;
}
p.dl-button {
    margin: 15px 0px;
}
/*Css for Footer Credits */
.footer-credits .text-left p {
    padding: 15px 0;
}
.footer-credits .text-right ul li {
    display: inline-block;
    vertical-align: middle;
}
.footer-credits .text-right {
    float: left;
    width: 50%;
    text-align: right;
}
.footer-credits .text-left {
    width: 50%;
    float: left;
}
.footer-credits .text-right img {
    width: 70px;
    margin-left: 5px;
}
.w3-grey {
    background-color: #4CAF50!important;
    color: #fff;
}