html, body {
    margin:0px; padding:0px;
    background-color:#d2e7ff;
}

html {
    overflow-y:scroll;
    height:100%; width:100%;
}

body {
    background-color:#a5c5e9 !important;
    background: -moz-linear-gradient(top,  #a5c5e9 0%, #d2e7ff 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#a5c5e9), color-stop(100%,#d2e7ff)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #a5c5e9 0%,#d2e7ff 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #a5c5e9 0%,#d2e7ff 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #a5c5e9 0%,#d2e7ff 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #a5c5e9 0%,#d2e7ff 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a5c5e9', endColorstr='#d2e7ff',GradientType=0 ); /* IE6-9 */
    /*margin-top: -45px;*/
}

a img {
    border:0px;
}

/* Global Styles_. */
#page a {
    /*color:#0b4f8f;;*/
}

.anchor-links {
    width: 100% !important;
}

#cookie-notice {
    background: #000 !important;
}

/* Form elements */
input.text {
    width:200px;
    border:1px #ccc solid;
    padding:4px;
    margin:0px;
    margin-right:0px !important;
}



/* Page Structures */
#page {
    /***width:1000px;*/
    max-width: 1000px;
    width: 100%;
    background-color:#fff;
    margin:0px auto;
    padding:11px;
}


/* Positioning */
.absolute { position:absolute; }
.relative { position:relative; }
.inline-block { display:inline-block; }
.float-left { float:left; }
.float-right { float:right; }
.clear { clear:both; height:0px; font-size:0px; margin:0px; padding:0px; line-height:0px; }

/* Transactions */

.hover-fade, .hover-fade:hover {
    transition: all 0.25s ease-in-out;
    -webkit-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    -webkit-font-smoothing: antialiased;
}

.hover-fade:hover {
    opacity:0.8;
}

/* Common swatches */
.swatch-blue { color:#0b4f8f; }
.swatch-orange { color:#f8ae04; }
a.swatch-orange { color:#f8ae04 !important; }

/* Common Font Families */
.font-arial { 

}
.font-scada { font-family: 'Scada', sans-serif; }
.font-corbel, .font-corbel * {
    font-size:13px;
}

/* Global */
p, ul {
    /*color:#333;*/
    /*text-align:justify;*/
}

h2, h3 {
    /*color:#0b4f8f;*/
/*    font-weight:bold;
    line-height:19px;*/
}

h3 {
    /*font-weight:bold;*/
}

/* Effects */
.fade, .fade:hover {
    transition: all 0.25s ease-in-out;
    -webkit-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
}

.fade:hover {
    opacity:0.8;
}

/* Buttons */
.button-blue, input[type='submit'] {
    background: #84b5d5; /* Old browsers */
    background: -moz-linear-gradient(top,  #84b5d5 0%, #84b5d5 8%, #327bc0 10%, #0b4f90 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#84b5d5), color-stop(8%,#84b5d5), color-stop(10%,#327bc0), color-stop(100%,#0b4f90)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #84b5d5 0%,#84b5d5 8%,#327bc0 10%,#0b4f90 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #84b5d5 0%,#84b5d5 8%,#327bc0 10%,#0b4f90 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #84b5d5 0%,#84b5d5 8%,#327bc0 10%,#0b4f90 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #84b5d5 0%,#84b5d5 8%,#327bc0 10%,#0b4f90 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#84b5d5', endColorstr='#0b4f90',GradientType=0 ); /* IE6-9 */
    border:1px #0c4d8f solid;
    border-radius:6px;
    padding:10px 20px;
    height:30px;
    line-height:10px;
    color:#fff;
    font-weight:bold;
}

/* Header */

.header .menu ul {
    margin:0px; 
    padding:0px; 
    list-style:none;
    text-align: right;
}

.header .menu ul li {
    display:inline-block; 
    padding: 10px 10px;
    position:relative;
}

.header .menu ul li:last-of-type {
    padding-right: 0;
}

.header .menu ul li a {
    text-decoration:none; 
    display:inline-block; 
    padding: 10px;
    color: white;
    text-align: center;
}

.header .menu ul li a:last-of-type {
    padding-right: 0;
}

.header .menu ul li a:hover {
    color: #F8AE04;
}

.header .menu > li a {
    font-weight: 800;
}

.header .menu li ul {
    position:absolute;
    background-color: white;
    top: 70px;
    left:0;
    display:none;
    margin:0px;
    z-index:1000;
    min-width: 320px;
    max-width: 500px;
    box-shadow: 0px 0px 25px rgba(0,0,0,0.2);
    text-align: left;
    padding: 10px;
}

/*.header .menu li ul:before {
    content: '';
    position: absolute;
    top: -10px;
    left: 25px;
    width: 0; 
    height: 0; 
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid white;
}*/

.header .menu li ul li {
    padding: 0;
}

.header .menu li ul li a {
    text-align: left;
    font-weight: 400;
    font-size: 1rem;
}

.header .menu li:hover ul {
    display:block;
}

.header .menu li:hover ul li {
    width: 100%;
}

.header .menu li ul li a:hover {
    /*color: red;*/
}



/* Page Content */
.page-content {
    width:100%;
    margin-top:26px;
}

/* Sub Menu */
.page-content .submenu {
    /*width:266px;*/
    /*float:left;*/
    background-color:#0b4f8f;
    padding:13px 0px;
    border-radius:9px;
}

.page-content .submenu ul {
    margin:0px;
    padding:0px;
    list-style:none;
    font-weight:bold;
    text-align:left;
}

.page-content .submenu ul li {
    padding:5px 0px;
    border-bottom:1px solid #083764;
    border-top:1px #0d61af solid;
    padding:10px 0;
}

.page-content .submenu ul li a {
    color:#f8ae04 !important;
    text-decoration:none;
    padding:0px 13px;
    display:inline-block;
}

.page-content .submenu ul li:first-child {
    border-top:0px;
}

.page-content .submenu ul li:last-child {
    border-bottom:0px;
}

.page-content .submenu li.current_page_item {
    background: #f7cd71; /* Old browsers */
    background: -moz-linear-gradient(top,  #f7cd71 0%, #f8ae04 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f7cd71), color-stop(100%,#f8ae04)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #f7cd71 0%,#f8ae04 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #f7cd71 0%,#f8ae04 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #f7cd71 0%,#f8ae04 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #f7cd71 0%,#f8ae04 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f7cd71', endColorstr='#f8ae04',GradientType=0 ); /* IE6-9 */
}

.page-content .submenu li.current_page_item a {
    color:#fff !important;
    text-shadow:-1px -1px rgba(0,0,0,0.5);
}


/* Content */
/*.content {
    width: 446px;
    float: left;
    color: #222;
}

@media (min-width: 860px) {
    .cotnent {
        width: 20%;
        float: right;
    }
}
*/
.content-full-width {
    width: 100%;
}

.content-nosubmenu {
    width: 80%;
}

@media (min-width: 1040px) {
    .content-nosubmenu {
        width: 80%;
        float: left;
    }
}

.content h1 {
    font-weight:bold;
    color:#0b4f8f;
    margin:0px 0px 26px 0px;
    padding:0px;
}


/* Sidebar */
.sidebar {

}

@media (min-width: 1040px) {
    .sidebar {
        width: 20%;
        float: right;
    }
}

.sidebar .follow .title span {
    font-size:24px;
    position:relative;
    top:-10px;
    display:inline-block;
    margin-left:6px;
}

.sidebar .follow .icons {
    margin-left:50px;
}

.sidebar .downloads {
    margin-top:26px;
}

.sidebar .downloads .title span {
    font-size:24px;
    position:relative;
    top:-10px;
    display:inline-block;
    margin-left:10px;
}

.sidebar .downloads ul {
    margin:0px;
    padding:0px;
    list-style:none;
    width:220px;
    margin-left:50px;
}

.sidebar .downloads li {
    background:url("images/site/icon-downloads-small.png") no-repeat 0px 0px;
    height:25px;
    margin-bottom:4px;
}

.sidebar .downloads li a {
    display:inline-block;
    width:180px;
    margin-left:30px;
    color:#555;
    text-decoration:none;
    line-height:25px;
}

.sidebar .latest-posts {
    margin-top:26px;
}

.sidebar .latest-posts .title span {
    font-size:24px;
    position:relative;
    top:-10px;
    display:inline-block;
    margin-left:10px;
}

.sidebar .latest-posts ul {
    list-style:none;
    margin:0px 0px 0px 10px;
}

.sidebar .latest-posts ul li {
    border-bottom:1px #e6e6e6 solid;
    padding-bottom:5px;
    padding-top: 5px;
}

.sidebar .latest-posts ul li a {
    text-decoration:none;
}

.sidebar .latest-posts ul li a:hover {
    text-decoration:underline;
}

/* Share Blog Article */
.share-article {
    width:100%;
    background-color:#f7f7f7;
    padding:13px;
    margin-top:26px;
}

.share-article .title {
    font-weight:bold;
    font-size:20px;
    position:relative;
    top:-7px;
    margin-left:8px;
}

.share-article .subtitle {
    font-size:16px;
    font-weight:bold;
    margin-bottom:6px;
    display:inline-block;
    color:#444;
}

.share-article .share {
    float:left;
    margin:12px 0px 12px 0px;
    width:300px;
}

.share-article .subscribe {
    margin-top:12px;
    float:left;
    margin-left:26px;
}

.share-article .subscribe .submit {
    margin-top:6px;
}

/* Comments */
#comments {
    width:100%;
    background-color:#f7f7f7;
    padding:13px;
    margin-top:26px;
}

#comments label {
    width:120px;
    display:inline-block;
    margin-right:6px;
    float:left;
}

#comments input[type='text'] {
    width:200px;
    border:1px #ccc solid;
    padding:4px;
    margin:0px;
    margin-right:0px !important;
}

#comments textarea {
    border:1px #ccc solid;
    padding:4px;
    position:relative;
    margin-left:0px;
    color:#333;
}

#comments .form-allowed-tags {
    display:none;
}

#comments .commentlist {
    background-color:#fefefe;
    padding:10px;
    list-style:none;
}

#comments .commentlist .vcard img {
    float:left;
    margin-right:8px;
}

#comments .commentlist a {
    color:#999;
    text-decoration:none;
}



/* Posts */

.posts .post {
}

.posts .post .image {
    width: 150px;
    margin-top: .5rem;
}

.posts .post .image img {
    width:150px;
    height:150px;
}

.posts .post .image .date,
.posts .post .image .category,
.posts .post .image .link {
    width:100px;
    height:60px;
    right:0px;
    background-color:#7798c4;
}

.posts .post .image .category {
    height:43px;
    top:61px;
}

.posts .post .image .link {
    height:45px;
    top:105px;
    background-color:#f8ae04;
}

#page .posts .post .image .link a {
    color:#fff !important;
}

.posts .post .day,
.posts .post .month {
    text-align:center;
    display:inline-block;
    width:100%;
    color:#fff;
    margin-top:2px;
    color:#fff;
    font-weight:bold;
}

.posts .post .day {
    font-size:36px;
    margin-bottom:0px;
}

.posts .post .month {
    font-weight:normal;
    font-size:14px;
    color:#fff;
    position:relative;
    top:-10px;
}

.posts .post .category,
.posts .post .link {
    display:inline-block;
    width:100%;
    text-align:center;
    color:#fff;
    font-size:11px !important;
    line-height:40px;
}

.posts .post .link a{

}

.posts .post-info {
    
}

@media (min-width: 1040px) {
    .posts .post-info {
        width: 80%;
        padding: 0 2rem;
    }
}

.posts .post-title a {

}

.post-excerpt {
    margin-top: 1rem;
}

.post-featured-image {
    margin:0px 10px 10px 0px;
}

.entry-content .dd_post_share {
    margin-top:26px;
}

.entry-content p {
    padding-top:12px;
}

.anchor-links {
    padding:9px;
    width:620px;
    background-color:#f7f7f7;
    margin-bottom:12px;
}

.anchor-links .title {
    color:#fff !important;
    display:inline-block;
    float:left;
    width:auto;
    padding:3px 6px;
    background-color:#c1c1c1;
    margin-right:12px;
    border:1px #f1f1f1 solid;
    border-radius:4px;
    text-decoration:none;
    font-weight:bold;
}

.anchor-links a {
    color:#999 !important;
    display:inline-block;
    float:left;
    width:auto;
    padding:3px;
    background-color:#fff;
    margin-right:12px;
    border:1px #f1f1f1 solid;
    border-radius:4px;
    text-decoration:none;
    margin-bottom:3px;
}

.anchor-links a:hover {
    background-color:#f8f8f8;
}

.anchor-links br {
    display:none;
}



/* Footer */
.footer {

}

.footer .microsoft-certified {
    margin-bottom:20px;
}

.footer .social {
    position:relative;
}


.footer .plusone {
    text-align:right;
    margin-left:8px;
    position:relative;
}

.footer-contact .address {
    vertical-align: top;
    width: 50%;
    display: inline-block;
    color: #555;
    padding: 26px 0px;
    /*margin-right: 10px;*/
    line-height: 20px;
}

.footer-contact .address img{
    margin-bottom: 10px;

}

.footer-contact .social {
    vertical-align: top;
    width: 50%;
    display: inline-block;
    color: #555;
    padding: 26px 0px;
    margin-right: 10px;
    line-height: 20px;
}

.footer-contact .social .tel {
    color: #555;
    line-height: 20px;
    font-weight: bold;
    display: block;
    text-align: center;
}

.footer-contact .icons {

    color: #555;
    padding: 26px 0px;
    line-height: 39px;
    font-weight: bold;
}

@media (min-width: 1040px) {
    .footer-contact .icons {
        width: 50%;
        float: left;
        vertical-align: top;
        display: inline-block;
    }
}

.footer-contact .icons img {
    clear: both;
    margin-bottom: 5px;
    margin-right: 10px;
}

.footer-menu {
    padding: 1rem;
    background: #ddd;
    width:100%;
    text-align:center;
}


.footer-menu ul {
    list-style:none;
    margin:0px;
    padding:0px;
    text-align:center !important;
}

.footer-menu ul li {
    display:inline;
    margin-right:6px;
}

.services-list, .services-list li {
    list-style: none;

    padding-left: 0px;
}

.services-list li img {
    display: inline;
}

.services-list li {
    height: 35px;
    margin-bottom: 10px;
}

.services-list li p {
    display: inline-block;
    vertical-align: top;
    color: #555;
    font-weight: bold;
    margin: 0;
    line-height: 35px;
}

/* Page Specific overrides */


/* http://www.caltech.co.uk/goldmine-service/ */
body.page-id-216 .try-microsoft {
    display:none;
}

/* Contact form 7 */

.wpcf7-form input[type='text'],
.wpcf7-form textarea {
    border:1px solid #ccc;
    background-color:#fafafa;
    border-radius:6px;
    width:300px;
    height:35px;
    line-height:35px;
}

.wpcf7-form input[type='email'],
.wpcf7-form textarea {
    border:1px solid #ccc;
    background-color:#fafafa;
    border-radius:6px;
    width:300px;
    height:35px;
    line-height:35px;
}

.wpcf7-form textarea {
    width:450px;
    height:120px;
}

.wpcf7-form input[type='submit'] {
    width:303px;
    height:35px;
    line-height:10px;
    font-size:15px;
}


.wpcf7-form-control-wrap {
    position:relative;
}

.wpcf7-not-valid-tip {
    position:absolute;
    left:5px !important;
    top:-10px !important;
    width:290px;
    height:35px;
    padding:4px;
    border:none !important;
    color:#cc0000;
    background:none !important;
    line-height:35px;
}

/* Responsive Styles START */



.button_boxes {
    margin-top:20px;
    text-align: center;
    margin-bottom: 5px;
}

.button_boxes .btn_box ul li a {
    font-size: 13px;
    display: block;
    color: #4E4E4E !important;
    font-family: 'Scada', sans-serif;
}

.button_boxes .btn_box ul li a:hover {
    color: #F8AE04 !important;
}

.button_boxes .btn_box ul {
    margin: 0 0 0 20px;
    font-family: 'Scada', sans-serif;
    color: #F8AE04;
    font-size: 21px;
    padding: 0;
    line-height: 15px;
}

.button_boxes a.btn_box, .button_boxes .btn_box {
    /*width: 175px !important;*/
    width: 100% !important;
    padding: 5px;
    line-height: 35px;
    display: inline-block;
    vertical-align: top;
    /*border-radius: 7px;*/
    text-decoration: none;
    font-family: 'Scada', sans-serif;
    margin-bottom: 9px;
    color: #4E4E4E !important;
    position: relative;

    width: 31.7% !important;
    height: 100px;
    padding: 5px;
    margin-right: 4px;
}

.button_boxes .last-btn-box {
    margin-right: 0px !important;
}

.button_boxes .btn_box .box-image {
    position: absolute;
    bottom: 15px;
    right: 15px;
    overflow: hidden;
    width: 75px;
}

.button_boxes .btn_box.two-line-button-box {
    margin-bottom: 0px !important;
}

.button_boxes .btn_box.box-two-lines h1 {
    font-size: 20px !important;
    line-height: 21px !important;
    margin-top: 2px !important;
    padding-left: 12px;
    padding-right: 12px;
}

.button_boxes .btn_box h1 {
    padding-top: 12px;
}

.button_boxes .btn_box.two-line-button-box h1 {
    padding-top: 22px !important;
}

.button_boxes .btn_box .box-image img {
    max-width: 100%;
    height: auto;
}

.button_boxes a.box-yellow {
    background-color: #F8AE04;
    color: #FFF !important;
}

.button_boxes .btn_box h2, .button_boxes .btn_box h1 {
    margin: 0 0 15px;
    font-size: 20px;
    color: #4E4E4E;
    line-height: 35px;
    text-align: center;
}

.button_boxes .box-yellow h2, .button_boxes .box-blue h2, .button_boxes .box-yellow h1, .button_boxes .box-blue h1 {
    color: #FFF;
}

.button_boxes a.box-blue {
    background-color: #0B4F8F;
    color: #FFF !important;
}


/* WIDE DESKTOP LAYOUT
----------------------------------------------- */

@media only screen and (min-width: 1024px) {
    .button_boxes {
        /*display: none;*/
        text-align: left;
    }

    #main #buttons {
        display: none !important;
    }

    .follow-small-scr-devices, .spotlight-small-src-devices  {
        display: none;
    }

    .slider, .slideshow_container, .slideshow_content, .slideshow_view, .slideshow_slide, .slideshow_slide a img {
/*        width: 1000px !important;
        height: 288px !important;*/
    }

    .slideshow_container.slideshow_container_style-light {
        /*max-width: 1000px !important;*/
    }

    .button_boxes {
        width: 315px;
        width: 32.8%;
        float: right;
        margin-right: 0px;
        margin-left: 30px;
        margin-bottom: 0px;
    }

    .button_boxes a.btn_box, .button_boxes .btn_box {
        width: 100% !important;
        box-sizing: border-box;
    }
}

/* TABLET LAYOUT
----------------------------------------------- */

@media only screen and (max-width: 1023px) {
    .homepage-text-block {
        max-width: 98.5%;
        margin: 0 auto;
    }

    #buttons {
        display: none !important;
    }

    .slider {
        margin: 0 auto;
        margin-top: 5px;
        float: none;
    }

    #page {
        padding: 0;
        padding-top: 10px;
    }

    #main {
        padding: 0 5px 0 5px;
    }

    .button_boxes {
        margin-top:20px;
        text-align: center;
        margin-bottom: 5px;
    }

    .homepage-text-block {
        margin-top: 10px;
    }

    .button_boxes .btn_box ul li a {
        font-size: 13px;
        display: block;
        color: #4E4E4E !important;
        font-family: 'Scada', sans-serif;
    }

    .button_boxes .btn_box ul li a:hover {
        color: #F8AE04 !important;
    }

    .button_boxes .btn_box ul {
        margin: 0 0 0 20px;
        font-family: 'Scada', sans-serif;
        color: #F8AE04;
        font-size: 21px;
        padding: 0;
        line-height: 15px;
    }

    .button_boxes a.btn_box, .button_boxes .btn_box {
        /*width: 175px !important;*/
        width: 31% !important;
        /*height: 35px;*/
        padding: 5px;
        line-height: 35px;
        display: inline-block;
        vertical-align: top;
        border-radius: 7px;
        text-decoration: none;
        font-family: 'Scada', sans-serif;
        margin-bottom: 5px;
        color: #4E4E4E !important;
        position: relative;
    }

    .button_boxes .btn_box .box-image {
        position: absolute;
        bottom: 15px;
        right: 15px;
        overflow: hidden;
        width: 75px;
    }

    .button_boxes .btn_box.box-two-lines h1 {
        font-size: 16px !important;
        line-height: 16px !important;
        margin-top: 2px !important;
        padding-left: 5px;
        padding-right: 5px;
    }

    .button_boxes .btn_box .box-image img {
        max-width: 100%;
        height: auto;
    }

    .button_boxes a.box-yellow {
        background-color: #F8AE04;
        color: #FFF !important;
    }

    .button_boxes .btn_box h2, .button_boxes .btn_box h1 {
        margin: 0 0 15px;
        font-size: 20px;
        color: #4E4E4E;
        line-height: 35px;
        text-align: center;
    }

    .button_boxes .box-yellow h2, .button_boxes .box-blue h2, .button_boxes .box-yellow h1, .button_boxes .box-blue h1 {
        color: #FFF;
    }

    .button_boxes a.box-blue {
        background-color: #0B4F8F;
        color: #FFF !important;
    }

    .follow-wide-scr-devices {
        display: none !important;
    }

    .services-list {
        padding-top: 0px;
        padding-bottom: 0px;
    }

    .services-list-box, .services-list {
        width: 100%;
        /*max-width: 758px;*/
    }

    .services-list li {
        /*display: inline-block;*/
        vertical-align: top;
        margin-right: 20px;
        /*width: calc(50% - 22px);*/
    }

    .services-list li:last-child {
        margin-right: 0px;
    }

    .header > .menu {
        display: none;
    }

    .menu-mainmenu-container {
        display: none;
    }

    .mobile-menu-block {
        display: block !important;
        position: absolute;
        top: 0;
        left: 0px;
        bottom: 0px;
        height: 48px;
        background-color: #0b4f8f;
        width: 100%;
    }

    .mobile-menu-box {
        display: block !important;
    }

    .header .menu {
        width: 100%;
    }

    .telephone {
        margin-right: 5px;
    }

    .try-microsoft {
        width: 100%;
    }

    .entry-content p img {
        max-width: 100% !important;
        height: auto !important;
    }

    .sidebar {
        padding-top: 20px;
    }

    #main {
        margin-bottom: 30px !important;
    }

    .mobile-menu-block a {
        font-size: 15px !important;
    }
}



@media only screen and (min-width: 768px) and (max-width: 1023px) {
    .slider, .slideshow_container, .slideshow_content, .slideshow_view, .slideshow_slide, .slideshow_slide a img {
/*        width: 758px !important;
        height: 259px !important;*/
    }

    .boxes, .panels {
        margin: 0 auto;
        width: 758px !important;
    }

    .boxes a.box, .boxes .box {
        width: 33.3333333%;
        padding: 25px;
    }

    .box.box-iframe {
        width: 374px !important;
        height: 190px !important;
        padding: 0px !important;
    }

    #homepage_promo_video {
        width: 374px !important;
        height: 190px !important;
    }

    a.box:nth-child(2n+0) {
        margin-right: 0px !important;
    }

    span.box:nth-child(2n+0) {
        margin-right: 0px !important;
    }

    .box.box-yellow.box-margin {
        margin-right: 9px !important;
    }

    .box.box-blue.box-no-margin {
        margin-right: 0px !important;
    }

    .panels .panel {
        /*width:354px !important;*/
        /*height: auto !important;*/
        /*padding: 10px;*/
    }

    .panel.poll {
        /*margin-right: 9px !important;*/
    }

    .panel.blog {
        /*margin-left: 0px !important;*/
    }

    #colophon, .footer-contact {
        /*max-width: 758px !important;*/
        margin: 0 auto;
    }

    .footer-contact a img {
        width: 100%;
    }

    .social-links-box {
        display: none;
    }

    .try-microsoft {
        width: 100%;
    }

    .social {
        /*padding-right: 5px;*/
        /*float: right;*/
        /*text-align: right;*/
    }

    .content-nosubmenu {
        width: 100%;
        /*max-width: 710px;*/
        /*margin-left: 20px;*/
        /*float: none;*/
        /*margin: 0 auto;*/
    }

    .sidebar {
        /*float: none;*/
        /*width: 710px;*/
/*        padding-left: 20px;
        padding-right: 20px;*/
        margin: 0 auto !important;
    }

    .sidebar .submenu {
        /*width: 280px;*/
        margin-right: 50px;
    }

    .downloads {
        /*display: inline-block;*/
        /*width: 280px;*/
        /*float: right;*/
        margin-top: 0px !important;
    }

    .panels-bottom_row {
        clear: both;
        padding-top: 30px;
    }

    .latest-posts {
        margin-right: 50px;
    }

    .latest-posts, .follow {
        /*display: inline-block;*/
        /*width: 280px;*/
        /*float: left;*/
        margin-top: 0px !important;
    }

    .follow {
        /*float: right;*/
    }

    .subpages_divider {
        display: none;
    }

    /* Blog */

    .sidebar-blog {
/*        width:230px;
        float:right;
        margin-right:18px;
        padding-top: 0px !important;*/
    }

    .sidebar-blog .follow {
/*        float: none !important;
        margin-bottom: 20px;
        margin-right: 0px;
        width:230px;*/
    }

    .posts .post-info {
        /*width: 320px;*/
    }

    .sidebar-blog .categories-list {
/*        float: none !important;
        width: 230px;
        margin-bottom: 20px;
        margin-right: 0px;*/
    }

    .sidebar-blog .latest-posts-list {
/*        float: none !important;
        width: 230px;
        margin-right: 0px;*/
    }

    .follow .icons a img {
        width: 35px;
    }

    .blog-posts-list .post {
        clear: both;
/*        height: auto !important;
        width: 590px !important;*/
        display: block;
    }

    .post .image.relative.float-left > a {
        display: none;
    }

    .post .image.relative.float-left {
        width: 100px;
    }

    .blog-posts-list {
/*        width: 430px !important;
        float: left !important;*/
    }

    /*.content-nosubmenu {
        width: 710px;
        float: none;
    }*/

    #comments {
        width: 710px;
    }

    #main {
        /*max-width: 710px;*/
        /*width: 710px;*/
        overflow: hidden;
        margin: 0 auto;
    }

    .share-article {
        /*width: 710px;*/
    }

    .blog-posts-list .post {
        /*width: 710px !important;*/
    }

    .sidebar-blog {
        /* float: right; */
    }

    .page-content {
        /*width: 710px;*/
        margin: 0 auto;
        margin-top: 26px;
    }



    /* Testimonials */
    .testimonials a {
        width:350px;
    }

    .testimonials .text {
        color:#fff;
        left:125px;
        top:20px;
        width:100px;
        font-size:16px;
        line-height:22px;
    }

    .testimonials-list {
        width: 615px !important;
    }

    /*.testimonials-page .sidebar {
        float: right !important;
        width: 200px !important;
    }*/

    /*.testimonials-page .panels {
        width: 200px !important;
    }*/

    .hfeed.homepage #main {
        width: 760px !important;
        max-width: 760px !important;
    }
}

/* MOBILE LAYOUT (PORTRAIT/320PX)
----------------------------------------------- */

@media only screen and (max-width: 767px) {

}

/* WIDE MOBILE LAYOUT (LANDSCAPE/480PX)
----------------------------------------------- */

@media only screen and (min-width: 640px) and (max-width: 767px) {
    .slider, .slideshow_container, .slideshow_content, .slideshow_view, .slideshow_slide, .slideshow_slide a img {
        width: 630px !important;
        height: 214px !important;
    }

    .button_boxes a.btn_box, .button_boxes .btn_box {
        /*width: 144px !important;*/
        width: 30.5% !important;
        /*height: 35px;*/
        padding: 5px;
    }

    .button_boxes .btn_box h2, .button_boxes .btn_box h1 {
        margin: 0 0 15px;
        font-size: 18px;
        color: #FFF;
        line-height: 35px !important;
    }

    .button_boxes .box-blue h1 {
        line-height: 35px !important;
    }

    .button_boxes .btn_box.small-text1 h1 {
        font-size: 15px !important;
        line-height: 35px !important;
        margin-top: 0px !important;
        padding-left: 10px;
        padding-right: 10px;
    }

    .boxes {
        margin: 0 auto;
        width: 630px !important;
    }

    .boxes a.box, .boxes .box {
        /*width: 260px !important;*/
        height: 125px;
        padding: 25px;
    }

    a.box:nth-child(2n+0) {
        margin-right: 0px !important;
    }


    .box.box-iframe {
        width: 310px !important;
        height: 175px !important;
        padding: 0px !important;
    }

    #homepage_promo_video {
        width: 310px !important;
        height: 175px !important;
    }

    a.box:nth-child(2n+0) {
        margin-right: 0px !important;
    }

    span.box:nth-child(2n+0) {
        margin-right: 0px !important;
    }

    .box.box-yellow.box-margin {
        margin-right: 9px !important;
    }

    .box.box-blue.box-no-margin {
        margin-right: 0px !important;
    }

    .social {
        text-align: right;
        float: right;
        margin-right: 5px !important;
    }

    .address {
        width: 40% !important;
        margin-left: 5px !important;
    }

    .panels {
        max-width: 630px;
        margin: 0 auto;
    }

    .panels .panel {
        width:290px !important;
        height: auto !important;
        padding: 10px;
    }

    .panel.poll {
        margin-right: 9px;
    }

    .panel.blog {
        margin-left: 0px !important;
    }

    #colophon, .footer-contact {
        max-width: 630px !important;
        margin: 0 auto;
    }

    #main {
        margin-bottom: 30px !important;
    }

    .footer-contact a img {
        width: 100%;
    }

    .social-links-box {
        display: none;
    }

    .try-microsoft {
        width: 100%;
    }

    .why-caltech-box .box-left {
        width: 190px !important;
    }




    .content-nosubmenu {
        width: 100%;
        /*max-width: 590px;*/
        margin-left: 20px;
        float: none;
        margin: 0 auto;
    }

    .sidebar {
/*        float: none;
        width: 590px;
        padding-left: 20px;
        padding-right: 20px;
        margin: 0 auto !important;
*/
/*        padding-left: 0px;
        padding-right: 0px;*/
    }

    .dd_outer {
        display: none !important;
    }

    .sidebar .submenu {
/*        width: 250px;
        margin-right: 90px;*/
    }

    .downloads {
        display: inline-block;
        /*width: 250px;*/
        /*float: right;*/
        margin-top: 0px !important;
    }

    .panels-bottom_row {
        clear: both;
        padding-top: 30px;
    }

    .latest-posts {
        margin-right: 20px;
    }

    .latest-posts, .follow {
        display: inline-block;
        /*width: 250px;*/
        float: left;
        margin-top: 0px !important;
    }

    .follow {
        float: right;
    }

    .subpages_divider {
        display: none;
    }

    .content {
        width: 590px;
        margin: 0 auto;
        float: none;
    }



    /* Blog */

    .content-nosubmenu .post {
        clear: both;
        height: auto !important;
        width: 590px;
        display: block;
    }

    .posts .post-info {
        /*width:475px;*/
    }

    .post .image.relative.float-left {
        width: 100px;
    }

    .post .image.relative.float-left > a {
        display: none;
    }

    .sidebar .follow {
        display: inline-block;
        vertical-align: top;
        margin-bottom: 25px;
        float: right;
    }

    .sidebar .categories-list {
        display: inline-block;
        vertical-align: top;
        float: left;
    }

    .sidebar .latest-posts-list {
        display: inline-block;
        vertical-align: top;
        margin-right: 0px;
        float: right;
    }

    #comments {
        width: 565px;
    }

    #main {
        max-width: 590px;
        width: 590px;
        overflow: hidden;
        margin: 0 auto;
    }

    .share-article {
        width: 565px;
    }

    .testimonials .link {
        width:294px !important;
    }

    .hfeed.homepage #main {
        width: 630px !important;
        max-width: 630px !important;
    }

    .page_button_boxes a.btn_box, .button_boxes .btn_box {
        width: 142px !important;
    }
}


/* WIDE MOBILE LAYOUT (LANDSCAPE/480PX)
----------------------------------------------- */

@media only screen and (min-width: 480px) and (max-width: 639px) {
    .slider {
        display: none;
    }

    .try-microsoft {
        display: none;
    }

    .contact-us-button {

    }

    .button_boxes a.btn_box, .button_boxes .btn_box {
        /*width: 223px !important;*/
        /*width: 100% !important;*/

        float: left;
        width: 98% !important;

        display: block;
        /*height: 35px;*/
        padding: 5px;
        line-height: 35px;
        display: inline-block;
        vertical-align: top;
        border-radius: 7px;
        text-decoration: none;
        font-family: 'Scada', sans-serif;
        margin-bottom: 5px;
        color: #4E4E4E !important;
        position: relative;
    }

    .button_boxes .btn_box h2, .button_boxes .btn_box h1 {
        margin: 0 0 15px;
        font-size: 18px;
        color: #FFF;
        line-height: 35px;
    }

    .button_boxes .box-two-lines.small-text h1 {
        font-size: 18px !important;
        line-height: 35px !important;
        margin-top: 0px !important;
        padding-left: 10px;
        padding-right: 10px;
    }

    .boxes {
        margin-top: 5px !important;
    }

    .boxes a.box, .boxes .box {
        width: 33.3333333%;
        padding: 25px;
    }

    .box-iframe {
        width: 470px !important;
        height: 210px !important;
        padding: 0px !important;
    }

    #homepage_promo_video {
        width: 470px !important;
        height: 210px !important;
    }

    .button_boxes {
        margin-top: 15px;
        margin-bottom: 10px;
    }

    .panels {
        /*max-width: 470px !important;*/
        margin: 0 auto;
    }

    .panels .panel {
        width:450px !important;
        height: auto !important;
        padding: 10px;
    }

    .panel.poll {
        margin-right: 0px;
    }

    .panel.blog {
        margin-left: 0px !important;
    }

    .footer-contact {
        max-width: 470px !important;
        margin: 0 auto;
    }

    #colophon {
        display: none;
    }

    .footer-contact a img {
        width: 100%;
    }

    .social-links-box {
        display: none;
    }

    .try-microsoft {
        width: 100%;
    }

    .social {
        display: none;
    }

    .address {
        width: 190px !important;
    }

    .footer-contact .social {
        /*width: 225px !important;*/
    }

    .footer-contact .social img {
        /*width: 260px !important;*/
    }

    .services-list-box {
        padding-top: 0px;
    }

    .footer-contact {
        border-top: 1px solid gray;
        margin-top: 15px;

        padding-left: 10px;
        padding-right: 10px;
    }

    .boxes {
        /*max-width: 470px !important;*/
        margin: 0 auto;
    }

    .services-list-box {
        padding-top: 0px;
    }

    .services-list-box ul {
        width: 470px !important;
        text-align: left;
    }

    .services-list-box ul li {
        width: 220px;
    }

    .services-list-box ul li:nth-child(2n+0) {
        margin-right: 0px !important;
    }








    .content-nosubmenu {
        width: 100%;
        /*max-width: 450px;*/
        /*margin-left: 20px;*/
        float: none;
        margin: 0 auto;
    }

    .sidebar {
        float: none;
        margin: 0 auto !important;

        /*width: 450px;*/
        padding-left: 0px;
        padding-right: 0px;
    }

    .sidebar .submenu {
        /*width:200px !important;*/
        margin-right: 20px;
    }

    .downloads {
        display: inline-block;
        /*width: 200px;*/
        margin-left: 0px !important;
        margin-top: 0px !important;
    }

    .downloads .title img {
        width: 23px;
    }

    .downloads ul {
        margin-left: 0px !important;
        padding-left: 20px !important;
    }

    .panels-bottom_row {
        clear: both;
        padding-top: 30px;
        width: 450px;
        margin: 0 auto;

    }

    .latest-posts {
        margin-right: 20px;
    }

    .latest-posts, .follow {
        display: inline-block;
        width: 200px;
        float: left;
        margin-top: 0px !important;
    }

    .subpages_divider {
        display: none;
    }

    .sidebar .downloads .title span {
        top:-4px;
        margin-bottom: 5px;
    }

    .latest-posts ul.display-posts-listing {
        margin-left: 0px;
        padding-left: 20px;
    }

    .sidebar .latest-posts .title span {
        top: -5px !important;
    }

    .latest-posts .title img {
        width: 30px;
    }

    .follow {
        float: right;
        width: 210px;
    }

    .follow .title span {
        top: -5px !important;
    }

    .follow .title img {
        width: 30px;
    }

    .sidebar .follow .icons {
        margin-left: 0px !important;
        padding-left: 20px;
    }

    .content-nosubmenu .entry-content p {
        /*line-height: 18px;*/
    }

    .content-nosubmenu .entry-content ul li {
        line-height: 18px;
        margin-bottom: 15px;
    }

    .content-nosubmenu .entry-content ol li {
        line-height: 18px;
        margin-bottom: 15px;
    }

    .downloads ul li {
        margin-bottom: 10px !important;
    }

    .downloads ul li a, .latest-posts ul li {
        font:15px arial !important;
        line-height: 18px !important;
    }

    .submenu ul li a {
        font-size: 15px;
        font-weight: 100;
    }

    .panel .font-arial {
        font-size: 15px !important;
    }

    .panel p {
        font-size: 15px !important;
    }

    .content {
        margin: 0 auto;
        /*width: 450px;*/
        float: none;
    }


    /* Blog */

    .entry-meta {
        font-size: 15px;
    }

    .content-nosubmenu .post {
        clear: both;
        height: auto !important;
        width: 450px;
        display: block;
    }

    .posts .post-info {
        /*width:340px;*/
    }

    .posts .post-info .meta {
        font-size: 15px;
    }

    .post .image.relative.float-left {
        width: 100px;
    }

    .post .image.relative.float-left > a {
        display: none;
    }

    .sidebar .follow {
        display: inline-block;
        vertical-align: top;
        margin-bottom: 25px;
        float: right;
        width: 200px;
    }

    .sidebar .categories-list {
        display: inline-block;
        vertical-align: top;
        float: left;
        width: 200px;
    }

    .sidebar .categories-list ul {
        padding-left: 10px;
    }

    .sidebar .latest-posts-list {
        display: inline-block;
        vertical-align: top;
        margin-right: 0px;
        float: right;
        width: 200px;
    }

    #comments {
        width: 420px;
    }

    #main {
        /*max-width: 460px;*/
        /*width: 590px;*/
        overflow: hidden;
        margin: 0 auto;
    }

    .share-article {
        /*width: 420px;*/
    }

    .share-article .subscribe {
        margin-left: 0px !important;
    }

    .testimonials .link {
        width:223px !important;
    }

    .testimonials .link .text {
        color:#fff;
        left:115px !important;
        top:15px !important;
        width:110px !important;
        font-size:15px !important;
        line-height:22px !important;
    }

    .hfeed.homepage #main {
/*        width: 470px !important;
        max-width: 470px !important;*/
    }

    .page_button_boxes a.btn_box, .button_boxes .btn_box {
        /*width: 220px !important;*/
    }

    .page_button_boxes a h1 {
        line-height: 35px !important;
    }
}

/* PORTRAIT MOBILE LAYOUT
----------------------------------------------- */

@media only screen and (min-width: 320px) and (max-width: 479px) {
    .slider {
        display: none;
    }

    .content-nosubmenu .entry-content ol li {
        line-height: 18px;
        margin-bottom: 15px;
    }

    .box-two-lines h1 {
        padding-right: 15px !important;
        padding-right: 15px !important;
    }

    .try-microsoft {
        display: none;
    }

    .telephone {
        display: none;
    }

    .contact-us-button {

    }

    .box {
        margin-right: 0px !important;
    }

    .boxes a.box, .boxes .box {
        width: 33.3333333%;
        padding: 25px;
        margin-right: 0px !important;
    }

    .button_boxes a.btn_box, .button_boxes .btn_box {
        /*width: 142px !important;*/
        float: left;
        width: 96.5% !important;
    }

    .box.box-iframe {
        width: 309px !important;
        height: 190px !important;
        padding: 0px !important;
    }

    #homepage_promo_video {
        width: 309px !important;
        height: 190px;
    }

    .panels {
        max-width: 309px !important;
        margin: 0 auto;
    }

    .panels .panel {
        width:293px !important;
        height: auto !important;
        padding: 10px;
    }

    .panel.poll {
        margin-right: 0px !important;
    }

    .panel.blog {
        margin-left: 0px !important;
    }

    .social {
        display: none;
    }

    .social-links-box {
        display: none;
    }

    #colophon {
        display: none;
    }

    .footer-contact {
        border-top: 1px solid gray;
        margin-top: 15px;
    }

    .address {
        width: 300px !important;
        text-align: center;
    }

    .social {
        width: 300px !important;
        text-align: center;
        padding-top: 0px !important;
        padding-bottom: 35px !important;
    }

    .why-caltech-box .box-left {
        width: 190px !important;
    }

    .services-list-box {
        display: none !important;
    }






    .content-nosubmenu {
        width: 100%;
        max-width: /*290px*/;
        /*margin-left: 20px;*/
        float: none;
        margin: 0 auto;
    }

    .content-nosubmenu .entry-content p {
        /*line-height: 18px;*/
    }

    .content-nosubmenu .entry-content ul li {
        line-height: 18px;
        margin-bottom: 15px;
    }

    .downloads ul li {
        margin-bottom: 10px !important;
    }

    .downloads ul li a, .latest-posts ul li {
        font:15px arial !important;
        line-height: 18px !important;
    }

    .sidebar {
        float: none;
        margin: 0 auto !important;

        /*width: 290px !important;*/
        padding-left: 10px;
        padding-right: 10px;
    }

    .sidebar .submenu {
        width:270px !important;
        margin-right: 0px;
        margin-bottom: 30px;
    }

    .downloads {
        display: inline-block;
        width: 270px;
        margin-left: 0px;
        margin-right: 0px !important;
        margin-top: 0px !important;
        margin-bottom: 15px;
    }

    .panels-bottom_row {
        clear: both;
        padding-top: 10px;
    }

    .latest-posts {
        margin-right: 20px;
        margin-bottom: 30px;
        margin-right: 0px;
    }

    .latest-posts, .follow {
        display: inline-block;
        width: 270px;
        float: left;
        margin-top: 0px !important;
    }

    .subpages_divider {
        display: none;
    }

    .latest-posts .display-posts-listing {
        margin-left: 0px !important;
        padding-left: 50px;
    }


    .follow {
        float: none;
        width: 210px;
        margin-bottom: 20px;
    }

    .follow .icons {
        margin-left: 0px !important;
        padding-left: 50px;
    }

    .follow .icons img {
        width: 35px;
    }

    .submenu ul li a {
        font-size: 15px;
        font-weight: 100;
    }

    .mobile-menu-block a {
        font-size: 15px !important;
    }

    .panel .font-arial {
        font-size: 15px !important;
    }

    .panel p {
        font-size: 15px !important;
    }

    .content {
        margin: 0 auto;
        /*width: 290px;*/
        float: none;
    }


    /* Blog */




    .posts .post-info .meta {
        font-size: 15px;
    }

    .post .image.relative.float-left {
        width: 100px;
    }

    .post .image.relative.float-left > a {
        display: none;
    }

    .sidebar .follow {
        display: inline-block;
        vertical-align: top;
        margin-bottom: 25px;
        float: right;
        width: 290px;
    }

    .sidebar .categories-list {
        display: block;
        vertical-align: top;
        /*float: left;*/
        /*width: 290px;*/
    }

    .sidebar {
        padding-top: 30px;
    }

    .sidebar .latest-posts-list {
        display: block;
        vertical-align: top;
        margin-right: 0px;
        /*float: right;*/
        /*width: 290px;*/
    }

    .post-meta-wide-box {
        display: none;
    }

    .post-meta-mobile-box {
        height: 100px !important;
        display: block !important;
        margin-right: 0px !important;
        margin-top: 0px;
        width: 290px !important;
    }

    .post-meta-mobile-box .date {
        width:80px !important;
        height:60px;
        float: left;
        border-right: 1px solid white;
    }

    .post-meta-mobile-box .category {
        border-right: 1px solid white;
        height:60px !important;
        float: left;
        margin: 0 auto;
        line-height: 58px !important;
        width: 120px !important;
    }

    .post-meta-mobile-box .link {
        width:80px !important;
        height:60px !important;
        line-height: 58px !important;
    }

    #comments {
        width: 280px;
    }

    #comments textarea {
        width: 255px;
    }

    #main {
        /*max-width: 290px;*/
        /*width: 290px;*/
        overflow: hidden;
        margin: 0 auto;
    }

    .share-article {
        width: 280px;
    }

    .share-article .subscribe {
        margin-left: 0px !important;
    }

    .testimonials .link {
        width:290px !important;
    }

    .wpcf7-form input {
        max-width: 282px;
    }

    .wpcf7-form textarea {
        max-width: 280px;
    }

    .hfeed.homepage #main {
        /*width: 310px !important;*/
        /*max-width: 310px !important;*/
    }

    .page_button_boxes a.btn_box, .button_boxes .btn_box {
        /*width: 142px !important;*/
    }
}

/* Responsive Styles END */

/* Page Tabs Template Styles START */

.quote_avatar_box {
    position: absolute;
    left: 0px;
    top: 0px;
}

.quote_avatar_image {
    /* make a square container */
    width: 95px;
    height: 95px;

    border: 1px solid #f0b5a0;

    /* fill the container, preserving aspect ratio, and cropping to fit */
    background-size: cover;

    /* center the image vertically and horizontally */
    background-position: center;

    /* round the edges to a circle with border radius 1/2 container size */
    border-radius: 50%;
}

.quote_box {
    min-height: 95px;
    position: relative;
    padding-top: 7px;

    margin-top: 30px;
}

.quote_text {
    padding-top: 10px;
    min-height: 65px;
    border-top: 4px solid #cfcfcf;
    border-bottom: 4px solid #cfcfcf;
    padding-left: 110px;
}

.quote_text span {
    padding-bottom: 10px;
    display: block;

    font-style: italic;
}

.clear {
    clear: both;
}



.page_button_boxes {
    margin-top: 30px;
    text-align: center;
    margin-bottom: 5px;
    text-align: left;
}

.page_button_boxes h1 {
    color: #fff;
    text-align: center;
}

.page_button_boxes .btn_box {
    width: 151px;
}

.page_button_boxes .btn_box ul li a {
    font-size: 13px;
    display: block;
    color: #4E4E4E !important;
    font-family: 'Scada', sans-serif;
}

.page_button_boxes .btn_box ul li a:hover {
    color: #F8AE04 !important;
}

.page_button_boxes .btn_box ul {
    margin: 0 0 0 20px;
    font-family: 'Scada', sans-serif;
    color: #F8AE04;
    font-size: 21px;
    padding: 0;
    line-height: 15px;
}

.page_button_boxes a.btn_box, .button_boxes .btn_box {
    width: 146px;
    height: 40px;
    /*padding: 5px;*/
    padding-top: 3px;
    padding-bottom: 3px;
    line-height: 40px;
    display: inline-block;
    vertical-align: top;
    /*border-radius: 7px;*/
    text-decoration: none;
    font-family: 'Scada', sans-serif;
    margin-bottom: 5px;
    color: #4E4E4E !important;
    position: relative;
}

.page_button_boxes .btn_box .box-image {
    position: absolute;
    bottom: 15px;
    right: 15px;
    overflow: hidden;
    width: 75px;
}

.page_button_boxes .btn_box.box-two-lines h1 {
    font-size: 16px !important;
    line-height: 16px;
    margin-top: 3px !important;
    padding-left: 12px;
    padding-right: 12px;
    color: #fff;
}

.page_button_boxes .btn_box .box-image img {
    max-width: 100%;
    height: auto;
}

.page_button_boxes a.box-yellow {
   /* background-color: #F8AE04;*/
    background:url("images/button_bg.png") no-repeat 0px 0px;
    color: #FFF !important;
    background-size: 100% 100%;
}

.page_button_boxes a.box-blue {
    background:url("images/button_blue_bg.png") no-repeat 0px 0px;
    color: #FFF !important;
    background-size: 100% 100%;
}


.page_button_boxes .btn_box h2, .button_boxes .btn_box h1 {
    margin: 0 0 15px;
    font-size: 20px;
    color: #4E4E4E;
    line-height: 35px;
    text-align: center;
    color: #fff;
}

.page_button_boxes .box-yellow h2, .button_boxes .box-blue h2, .button_boxes .box-yellow h1, .button_boxes .box-blue h1 {
    color: #FFF;
}

h1.box-title.text_middle {
    line-height: 37px !important;
    font-size: 16px !important;
}

.resp-tab-content {
    padding-top: 5px !important;
}

#tabs .resp-tab-content p {
    padding-top:12px !important;
}

#tabs .resp-tab-content ul li {
    padding-top:6px !important;
}

/* Page Tabs Template Styles END */

/*.scrolling-block {*/
    /*width: 320px;*/
/*}*/

.scrolling-block a {
    outline: none;
}

.scrolling-box div img {
    width: 100%;
    height: auto;

    width: auto !important;
    height: auto !important;
    max-width: 80% !important;
    max-height: 80% !important;
    vertical-align: middle;
    display: inline-block;
}

.scrolling-box .img-box {
    list-style: none;
    width: auto;
    padding: 0;
    height: 120px;
    width: 172px;
    display: block;
    vertical-align: middle;
    float: left;
    text-align: center;
    line-height: 117px !important;
    color: #686f74;
    overflow: hidden;
    background: #fff;
    /*-webkit-box-shadow: 0 0 5px #ddd;*/
    /*-moz-box-shadow: 0 0 5px #ddd;*/
    /*box-shadow: 0 0 5px #ddd;*/
    margin: 0px;
    /*border: 1px solid #eee;*/
}



/*
// Resources section
//==============================================================================
*/


.clearfix:before, .clearfix:after {
    content: " ";
    display: table;
}
.clearfix:after {
    clear: both;
}


.resources_wrap {
    margin-top: 20px;
    color: #222;
}

.row {
    margin-left: -20px;
}
.col {
    float: left;
    display: inline;
    width: 50%;
}

.col-inner {
    margin-left: 20px;
    margin-bottom: 20px;

}

.tc {
    text-align: center;
}

.alpha {
    font-weight: bold;
    color: #0b4f8f;
    margin: 0px 0px 26px 0px;
    padding: 0px;
}

.col img {
    max-width: 100%;
    height: auto;
}

.resource_thumb {
    border: 1px solid #efefef;
}

.resource_title {
    display: block;
    font-size: 1.2em;
    height: 3.6em;
    margin: 10px 0 0 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.resources_wrap a {
    text-decoration: none;
}

.resources_wrap a:hover .resource_thumb {
    border: 1px solid #D2D2D2;
}
.resources_wrap a:hover .resource_title {
    color: #23609a;
}

.col-half {
    width: 100%;
}

.resource_form {
    padding: 30px;
    background: #efefef;
}
.resource_form label, .resource_form input {
    display: block;
    margin-bottom: 10px;
}



.resource_form input[type='email'], .resource_form input[type='text'] {
    border: 1px solid #ccc;
    background-color: #fafafa;
    border-radius: 6px;
    width: 100%;
    height: 35px;
    padding: 10px;
    line-height: 35px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
    margin-bottom: 10px;
}

.resource_download, .form_title {
    padding: 20px 30px;
    color: #fff;
    font-size: 1.2em;
    background: #0b4f8f;
    display: block;
}

.mc4wp-success {
    background: #5cb85c;
    color: #fff;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
    border-radius: 3px;
    padding: 10px;
}

.mc4wp-success p {
    color: #fff;
}
.tr {
    text-align: right;
}

@media only screen and (min-width: 600px) {

    .col {
        width: 33.33%;
    }
    .col-half {
        width: 100%;
    }
}

@media only screen and (min-width: 640px) {

    .col-half {
        width: 50%;
    }
}

@media only screen and (min-width: 767px) {

    .col {
        width: 25%;
    }
    .col-half {
        width: 50%;
    }
}


@media only screen and (min-width: 1024px) {
    .resources_wrap {
        margin: 40px;
    }
    .col {
        width: 25%;
    }
    .col-half {
        width: 50%;
    }
}


.mc4wp-form {
    padding: 30px;
    background: #efefef;
}
.mc4wp-form label, .mc4wp-form input {
    display: block;
    margin-bottom: 10px;
}


.mc4wp-form input[type='email'], .mc4wp-form input[type='text'], .mc4wp-form input[type='number'] {
    border: 1px solid #ccc;
    background-color: #fafafa;
    border-radius: 6px;
    width: 100%;
    height: 35px;
    padding: 10px;
    line-height: 35px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
    margin-bottom: 10px;
}

img.aligncenter {
    display: block;
    margin: 10px auto;
}

ul.ticklist {
    list-style: none;
    margin: 20px;
}

ul.ticklist li {
    position: relative;
    font-size: 17px;
    text-align: left;
    margin-bottom: 10px;
}

ul.ticklist li:before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 19px;
    position: absolute;
    top: 10px;
    left: -35px;
    margin-top: -10px;
    background: url('/wp-content/themes/caltech/images/tick.png') no-repeat center center;
}



#ouibounce-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10002;
  width: 100%;
  height: 100%;
}
#ouibounce-modal-overlay.underlay {
  width: 100%;
  height: 100%;
  position: fixed;
  display: none;
  top: 0;
  left: 0;
  background-color: rgba(0,0,0,0.5);
  cursor: pointer;
  z-index: 10001;
}
#ouibounce-modal .modal {
    width: 60%;
    background-color: #f0f1f2;
    z-index: 20;
    position: absolute;
    margin: auto;
    top: 50px;
    max-width: 750px;
    right: 0;
    left: 0;
    border-radius: 4px;
}
#ouibounce-modal .modal-title {
  font-size: 18px;
  background-color: #f8ae04;
  color: #fff;
  padding: 20px 10px;
  margin: 0;
  border-radius: 4px 4px 0 0;
  text-align: center;
}
#ouibounce-modal h3 {
  color: #fff;
  font-size: 1em;
  margin: 0.2em;
  font-weight: 500;
}
#ouibounce-modal .modal-body {
  padding: 20px 35px;
  font-size: 0.9em;
}
#ouibounce-modal p {
    color: #333;
    line-height: 1.5em;
    margin-bottom: 10px;
    font-size: 1.2em;
}
#ouibounce-modal form {
  text-align: center;
}
#ouibounce-modal form input[type=text] {
  padding: 12px;
  border-radius: 4px;
  border: 1px solid #ccc;
  margin-bottom: 0;
  line-height: 1em;
}

#ouibounce-modal form input[type=text] ,#ouibounce-modal form input[type=email] {
    padding: 0 10px;
    font-size: 13px;
}
#ouibounce-modal form input[type=submit] {
    text-transform: uppercase;
    font-weight: bold;
    padding: 12px;
    font-size: 1.1em;
    border-radius: 4px;
    color: #fff;
    background-color: #4ab471;
    border: none;
    cursor: pointer;
    margin: 0 auto;
}
#ouibounce-modal form p {
  text-align: left;
  margin-left: 35px;
  opacity: 0.8;
  margin-top: 1px;
  padding-top: 1px;
  font-size: 0.9em;
}
#ouibounce-modal .modal-footer {
    text-align: center;
    width: 100%;
    padding: 10px 0;
    font-size: 0.8em;
}
#ouibounce-modal .modal-footer p {
  text-transform: capitalize;
  cursor: pointer;
  display: inline;
  border-bottom: 1px solid #344a5f;
}



#ouibounce-modal .ouibounce_form p {
    margin: 0 0 5px 0;
    padding: 5px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
    font-size: 13px;
}

#ouibounce-modal .ouibounce_form .mc4wp-form{
    padding: 10px;
}

#ouibounce-modal {
    overflow-y: scroll;
    width: calc(100% + 17px);
}

#ouibounce-modal .mc4wp-error{
    background: #a94442;
    color: #fff;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
    border-radius: 3px;
    padding: 10px;
    display: block;
}


@media only screen and (min-width: 100px) {
    #ouibounce-modal .modal {
        width: 95%;
        font-size: 12px;
    }

    #ouibounce-modal .modal-body {
        padding: 20px;
    }

    #ouibounce-modal .modal-body .ticklist {
        padding: 10px;
    }
}
@media only screen and (min-width: 600px) {
    #ouibounce-modal .modal {
        width: 80%;
        font-size: 14px;
    }
    #ouibounce-modal .modal-body {
      padding: 20px 35px;
      font-size: 0.9em;
    }
    #ouibounce-modal .ouibounce_form p:first-child, #ouibounce-modal .ouibounce_form p:nth-child(2)  {
        float: left;
        display: inline;
        width: 50%;
    }
    #ouibounce-modal .ouibounce_form p {
        clear: left;
    }

    #ouibounce-modal .ouibounce_form p label {
       display: inline-block;
    }

    #ouibounce-modal .ouibounce_form p:nth-child(2) {
        clear: right;
    }

    #ouibounce-modal .ouibounce_form .mc4wp-form {
        padding: 10px 30px 0;
    }


    #ouibounce-modal .ouibounce_form .mc4wp-error p,
    #ouibounce-modal .ouibounce_form .mc4wp-success p {
        float: none;
        color: #fff;
        width: 100%;
        display: block;
    }
}

@media only screen and (min-width: 992px) {
    #ouibounce-modal .modal {
        width: 60%;
    }
}


.blog-subscribe .mc4wp-form {
    padding: 0px;
    background: transparent;
}
.share-article .blog-subscribe.subscribe  {
    width: 100%;
    margin-left: 0;
}

@media only screen and (min-width: 768px) {
    .share-article .blog-subscribe.subscribe  {
        width: 45%;
        margin-left: 26px;
    }

    .services-list li p {
        font-size: 14px;
    }
}
@media only screen and (min-width: 1024px) {
    .footer-contact .icons { 
        /*width: 325px;*/
    }
}


.switch_wrap .switch, .switch_wrap .wpcf7-list-item-label {
    width: 46px; 
    height: 26px;
    background: grey;
    border-radius: 30px;
    display: inline-block;
    border: 3px solid grey;
    transition: all 0.2s ease;
    position: relative;
    content: "";
    vertical-align: middle;
    overflow: hidden;
    color: #fff;
}

.switch_wrap span.wpcf7-list-item {
    margin: 0;
}

.switch_wrap input {
    display: none;
}


.switch_wrap .switch:before, .switch_wrap .wpcf7-list-item-label:before {
    content: "";
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white;
    display: inline-block;
    transition: transform 0.2s ease;
}

.switch_wrap .switch:after, .switch_wrap .wpcf7-list-item-label:after {
    content: "";
    display: block;
    position: absolute;
    top: 3px;
    left: 1px;
    z-index: 1;
    width: 40px; 
    height: 20px;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAOCAYAAABHN77IAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAOlJREFUeNq0lQ8VwiAQxpkNqECFVaDCKqwCFaxghaugEagwI2gEBIW5nRz/ht9739gbHPsBBwzGGNYg7ssn66xTQ4yw1taLtaxor4h68P7IzVCFhfVivnpYy4r2CtXDpg7eq3UAJuiciLlG2qsITNC8DR4TnVMwkBmE9LOIpSPfXP88FgidYHJQGEaEJeORAOgEUwK1wmyBqJ/2gEnl008O5palFwxk+lUYqATqXzA7KNY5gbEvRM7MRE5NJVu8FYb5UVMJjBPdvY+pQ1AfhMFQu92EoNYTf2i8XGs1Wd+Iy1j48u4eLwEGABhYVejHdSTnAAAAAElFTkSuQmCC');
    background-repeat: no-repeat;
    
}

.switch_wrap input:checked ~ .switch:before,
.switch_wrap input:checked ~ .wpcf7-list-item-label:before {
    transform: translateX(100%);
}

.switch_wrap input:checked ~ .switch,
.switch_wrap input:checked ~ .wpcf7-list-item-label {
    background-color: #94c948;
    border-color: #94c948
}

label .label {
    font-size: 16px; 
    vertical-align: middle;
    font-weight: bold;
}

@media only screen and (max-width: 600px) {
    label .label {
        font-size: 13px;
    }
}

.switch_wrap {
    display: inline-block;
    margin-bottom: 10px;
}

.switch_wrap .wpcf7-not-valid-tip {
    top: 100% !important;
}


@media only screen and (max-width: 479px) {
    .services-list li {
        width: calc(100% - 22px);
    }

    .footer-menu {
        padding: 10px 20px;
/*        width: calc(100% - 40px);*/
    }
}

.homepage-banner-after-boxes {
    margin-bottom: 2rem;
}

.homepage-banner-after-boxes img {
    max-width: 100%;
    max-height: 100%;
    display: block;
}